X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/54bed8e9c0d97f18abee13f8e424ac981c5826d2..a37e1b8f7035bfac0e38f5b95ea643c601e1c9b1:/app/views/browse/node.html.erb?ds=sidebyside diff --git a/app/views/browse/node.html.erb b/app/views/browse/node.html.erb index 95176ab04..e9a5482be 100644 --- a/app/views/browse/node.html.erb +++ b/app/views/browse/node.html.erb @@ -2,12 +2,15 @@ @name = printable_name @node @title = t('browse.node.node') + ' | ' + @name %> +<% content_for :head do %> +<%= stylesheet_link_tag 'browse' %> +<% end %> <%= render :partial => "navigation" %>

<%= t'browse.node.node_title', :node_name => h(@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"), +<%= 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) %>