X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/edaddbedaec78a252e988e2271962407e64483fd..160429e62d88810ec49ccc9c504edee675dca080:/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 19aeb7dca..95176ab04 100644 --- a/app/views/browse/node.html.erb +++ b/app/views/browse/node.html.erb @@ -2,22 +2,12 @@ @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") %> -
+<%= 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"), + :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) +%>