X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/a36f3558dd43dd5a598e36dd21fd5f7d2b4a94f5..681022443ea24c11d9aeedeb3e1ddc3789b8ffd5:/app/views/browse/node.html.erb diff --git a/app/views/browse/node.html.erb b/app/views/browse/node.html.erb index f41562a7f..30662c13f 100644 --- a/app/views/browse/node.html.erb +++ b/app/views/browse/node.html.erb @@ -2,12 +2,17 @@ @name = printable_name @node @title = t('browse.node.node') + ' | ' + @name %> + <% content_for :head do %> -<%= stylesheet_link_tag 'browse' %> + <%= stylesheet_link_tag 'browse' %> + <%= javascript_include_tag 'index' %> <% end %> -<% content_for :heading do %> +<% content_for :sidebar do %>

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

+ + <%= render :partial => "node_details", :object => @node %> + <% end %> -<%= render :partial => "navigation" %> - -<% if @node.visible -%> -<%= render :partial => "map", :object => @node %> -<% end -%> -
- <%= render :partial => "node_details", :object => @node %> -
\ No newline at end of file +<%= render :template => 'layouts/map' %>