X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/2e2f2124728ca755b2db8f83f022eaea24b647f0..ff73d1225554de6f6ec2aee7bcd9faa527c0d552:/app/views/browse/node.html.erb?ds=inline diff --git a/app/views/browse/node.html.erb b/app/views/browse/node.html.erb index 19aeb7dca..f41562a7f 100644 --- a/app/views/browse/node.html.erb +++ b/app/views/browse/node.html.erb @@ -2,22 +2,26 @@ @name = printable_name @node @title = t('browse.node.node') + ' | ' + @name %> - - - - - - - - <%= render :partial => "map", :object => @node %> - -
-

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

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