X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/398d5fa3298b7aacea4a9cbddd0c4e5f8a9e6638..983dbb5353f819c513cd36a25321e2714d27b3ac:/app/views/browse/node_history.rhtml diff --git a/app/views/browse/node_history.rhtml b/app/views/browse/node_history.rhtml index ffa42bef6..4a34e3452 100644 --- a/app/views/browse/node_history.rhtml +++ b/app/views/browse/node_history.rhtml @@ -1,3 +1,7 @@ +<% +@name = printable_name @node +@title = t('browse.node_history.node_history') + ' | ' + @name +%>

Node History: <%= h(@name) %>

@@ -7,16 +11,9 @@ <%= render :partial => "node_details", :object => node %>
<% end %> - <%= link_to "Download XML", :controller => "old_node", :action => "history" %> - or - <%= link_to "view details", :action => "node" %> - - + <%= render :partial => "map", :object => @node %>
- <% if @node.visible %> - <%= render :partial => "map", :locals => { :type => "node", :id => @node.id } %> - <% else %> - Deleted - <% end %> + <%= t 'browse.node_history.download', :download_xml_link => link_to(t('browse.node_history.download_xml'), :controller => "old_node", :action => "history"), + :view_details_link => link_to(t('browse.node_history.view_details'), :action => "node") %>