X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/5f8ab9e9244550b20b8d3bd97b3567df7020d06d..010dc8719596add0fec05a7d43f677dffdf03beb:/app/views/browse/relation.rhtml?ds=sidebyside diff --git a/app/views/browse/relation.rhtml b/app/views/browse/relation.rhtml index f981938a7..e180da084 100644 --- a/app/views/browse/relation.rhtml +++ b/app/views/browse/relation.rhtml @@ -1,7 +1,11 @@ +<% +@name = printable_name @relation +@title = t('browse.relation.relation') + ' | ' + @name +%>
- Relation: <%= h(@name) %>+<%= t'browse.relation.relation_title', :relation_name => h(@name) %> |
<%= render :partial => "navigation" %> @@ -11,9 +15,8 @@ |
<%= render :partial => "relation_details", :object => @relation %>
- <%= link_to "Download XML", :controller => "relation", :action => "read" %> - or - <%= link_to "view history", :action => "relation_history" %> + <%= t'browse.relation.download', :download_xml_link => link_to(t('browse.relation.download_xml'), :controller => "relation", :action => "read"), + :view_history_link => link_to(t('browse.relation.view_history'), :action => "relation_history") %> |
<%= render :partial => "map", :object => @relation %>