]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/browse/node_history.html.erb
Simplify layouting
[rails.git] / app / views / browse / node_history.html.erb
index 98b6745e42dd180d8acb972125d2a3bd0c7d1ebc..687dc4f9b63787e1af86c377d3a6d1095ff49c31 100644 (file)
@@ -5,20 +5,15 @@
 
 <% content_for :head do %>
   <%= stylesheet_link_tag 'browse' %>
-  <%= javascript_include_tag 'index' %>
 <% end %>
 
-<% content_for :sidebar do %>
-  <h2><%= raw t'browse.node_history.node_history_title', :node_name => link_to(h(@name), :action => "node", :id => @node.id) %></h2>
+<h2><%= raw t'browse.node_history.node_history_title', :node_name => link_to(h(@name), :action => "node", :id => @node.id) %></h2>
 
-  <% @node.old_nodes.reverse.each do |node| %>
-    <%= render :partial => "node_details", :object => node %>
-  <% end %>
-
-  <ul class='secondary-actions clearfix'>
-    <li><%= link_to(t('browse.node_history.download_xml'), :controller => "old_node", :action => "history") %></li>
-    <li><%= link_to(t('browse.node_history.view_details'), :action => "node") %></li>
-  </ul>
+<% @node.old_nodes.reverse.each do |node| %>
+  <%= render :partial => "node_details", :object => node %>
 <% end %>
 
-<%= render :template => 'layouts/map' %>
+<ul class='secondary-actions clearfix'>
+  <li><%= link_to(t('browse.node_history.download_xml'), :controller => "old_node", :action => "history") %></li>
+  <li><%= link_to(t('browse.node_history.view_details'), :action => "node") %></li>
+</ul>