X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/9a7db5d63b12f90b944f4ad151e5299d1745ecfb..0b84885cfc566fb2d552c5681c11a2905d28f038:/app/views/browse/node.rhtml 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 %>