X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/97aefa23d0606edaee71d04cf6c1a2006689b1fa..d4f87f6b9b8e33438e75c8d8a40650606009df3c:/app/views/browse/node.rhtml?ds=sidebyside diff --git a/app/views/browse/node.rhtml b/app/views/browse/node.rhtml index e2db18f62..19aeb7dca 100644 --- a/app/views/browse/node.rhtml +++ b/app/views/browse/node.rhtml @@ -1,7 +1,11 @@ +<% +@name = printable_name @node +@title = t('browse.node.node') + ' | ' + @name +%>
- Node: <%= h(@name) %>+<%= t'browse.node.node_title', :node_name => h(@name) %> |
<%= render :partial => "navigation" %> @@ -11,9 +15,8 @@ |
<%= render :partial => "node_details", :object => @node %>
- <%= link_to "Download XML", :controller => "node", :action => "read" %> - or - <%= link_to "view history", :action => "node_history" %> + <%= t'browse.node.download', :download_xml_link => link_to(t('browse.node.download_xml'), :controller => "node", :action => "read"), + :view_history_link => link_to(t('browse.node.view_history'), :action => "node_history") %> |
<%= render :partial => "map", :object => @node %>