X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/aa8fef0f94e531949346ec07bc57382b18c4adde..b56fb250680e95146256161e8adb5f1a327859fd:/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 e9a5482be..8847adb19 100644 --- a/app/views/browse/node.html.erb +++ b/app/views/browse/node.html.erb @@ -1,16 +1,18 @@ <% @name = printable_name @node -@title = t('browse.node.node') + ' | ' + @name +set_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 => h(@name) %>

-<%= render :partial => "map", :object => @node %> + +

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

+ <%= render :partial => "node_details", :object => @node %> -
-<%= t'browse.node.download', :download_xml_link => link_to(t('browse.node.download_xml'), :controller => "old_node", :action => "version", :version => @node.version), - :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) -%> + +
+

<%= link_to(t('browse.node.download_xml'), :controller => "node", :action => "read") %> + · + <%= link_to(t('browse.node.view_history'), :action => "node_history") %> +

+