X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/97aefa23d0606edaee71d04cf6c1a2006689b1fa..afce15dd86d855381c78d4d31b4baba4db4ce152:/app/views/browse/relation.rhtml 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 %>