X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/0d3a9ed9cb47ce3b89ea9eaffbb589f9a9ff6d22..de97f7bfe418ecedb8800236020c95f16474f1ab:/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 8f0a2001b..9fc915a12 100644 --- a/app/views/browse/node.html.erb +++ b/app/views/browse/node.html.erb @@ -2,18 +2,12 @@ @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 => @name %>

-<% if @node.visible -%> -<%= render :partial => "map", :object => @node %> -<% end -%> + <%= render :partial => "node_details", :object => @node %> -
-<%= link_to(t('browse.node.download_xml'), :controller => "node", :action => "read") %> -| <%= link_to(t('browse.node.view_history'), :action => "node_history") %> -<% if @node.visible -%> -| <%= link_to(t('browse.node.edit'), :controller => "site", :action => "edit", :lat => @node.lat, :lon => @node.lon, :zoom => 18, :node => @node.id) %> -<% end -%> + +