X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/bd12ec7a8bfdc244756272a2f4fec1f645a6d852..1104165e7ba4640e0c5e0bb4361e76f6911407bd:/app/views/browse/node.html.erb diff --git a/app/views/browse/node.html.erb b/app/views/browse/node.html.erb index 8f0a2001b..f41562a7f 100644 --- a/app/views/browse/node.html.erb +++ b/app/views/browse/node.html.erb @@ -5,15 +5,23 @@ <% content_for :head do %> <%= stylesheet_link_tag 'browse' %> <% end %> + +<% content_for :heading do %> +

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

+ +<% 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 -%> + +
+ <%= render :partial => "node_details", :object => @node %> +
\ No newline at end of file