X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/398d5fa3298b7aacea4a9cbddd0c4e5f8a9e6638..5b0024e61abe15543740bdc4b58c673d62a394d2:/app/views/browse/relation.rhtml?ds=inline diff --git a/app/views/browse/relation.rhtml b/app/views/browse/relation.rhtml index 8d4f94bf5..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 +%> - + <%= render :partial => "map", :object => @relation %>
-

Relation: <%= h(@name) %>

+

<%= t'browse.relation.relation_title', :relation_name => h(@name) %>

<%= render :partial => "navigation" %> @@ -11,16 +15,9 @@ <%= render :partial => "relation_details", :object => @relation %>
- <%= link_to "Download XML", :controller => "relation", :action => "read" %> - or - <%= link_to "view history", :action => "relation_history" %> -
- <% if @relation.visible %> - <%= render :partial => "map", :locals => { :type => "relation", :id => @relation.id } %> - <% else %> - Deleted - <% end %> + <%= 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") %>