X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/b30983f02bd1a0963157c14f14e996f258936625..5a00e23fa3200d95a27177dc5e392993e9dd0195:/app/views/browse/node.html.erb
diff --git a/app/views/browse/node.html.erb b/app/views/browse/node.html.erb
index 30662c13f..1936b9343 100644
--- a/app/views/browse/node.html.erb
+++ b/app/views/browse/node.html.erb
@@ -3,23 +3,15 @@
@title = t('browse.node.node') + ' | ' + @name
%>
-<% content_for :head do %>
- <%= stylesheet_link_tag 'browse' %>
- <%= javascript_include_tag 'index' %>
-<% end %>
+
-<% content_for :sidebar do %>
- <%= t'browse.node.node_title', :node_name => @name %>
+<%= render :partial => "node_details", :object => @node %>
- <%= 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 -%>
-
-<% end %>
-
-<%= render :template => 'layouts/map' %>
+
+ <%= link_to(t('browse.node.download_xml'), :controller => "node", :action => "read") %>
+ ·
+ <%= link_to(t('browse.node.view_history'), :action => "node_history") %>
+
+