X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/7b9e852c9d53318cfc949fe4ceef2d3b665e2020..5c74a6517cbc5aa4aa958abd0737da8892f58a45:/app/views/browse/node.html.erb diff --git a/app/views/browse/node.html.erb b/app/views/browse/node.html.erb index d9faaf478..7b0ad746c 100644 --- a/app/views/browse/node.html.erb +++ b/app/views/browse/node.html.erb @@ -6,11 +6,11 @@ <%= stylesheet_link_tag 'browse' %> <% end %> <%= render :partial => "navigation" %> -

<%= t'browse.node.node_title', :node_name => h(@name) %>

+

<%= t'browse.node.node_title', :node_name => @name %>

<%= render :partial => "map", :object => @node %> <%= render :partial => "node_details", :object => @node %>
-<%= 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"), - :edit_link => link_to(t('browse.node.edit'), :controller => "site", :action => "edit", :lat => @node.lat, :lon => @node.lon, :zoom => 18, :node => @node.id) +<%= raw t'browse.node.download', :download_xml_link => link_to(t('browse.node.download_xml'), :controller => "old_node", :action => "version", :version => @node.version), + :view_history_link => link_to(t('browse.node.view_history'), :action => "node_history"), + :edit_link => link_to(t('browse.node.edit'), :controller => "site", :action => "edit", :lat => @node.lat, :lon => @node.lon, :zoom => 18, :node => @node.id) %>