]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/browse/node_history.html.erb
Fixed changeset time inconsistencies
[rails.git] / app / views / browse / node_history.html.erb
index e37f0e037fdee9323005f565bcee87551f438857..cbf7853f2e2610655e4f63440605c6dbcb14d29f 100644 (file)
@@ -2,24 +2,17 @@
 @name = printable_name @node
 @title = t('browse.node_history.node_history') + ' | ' + @name
 %>
-<% content_for :head do %>
-<%= stylesheet_link_tag 'browse' %>
-<% end %>
 
-<% content_for :heading do %>
-  <h2><%= raw t'browse.node_history.node_history_title', :node_name => link_to(h(@name), :action => "node", :id => @node.id) %></h2>
-  <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>
-<% end %>
+<h2><%= raw t'browse.node_history.node_history_title', :node_name => link_to(h(@name), :action => "node", :id => @node.id) %>
+    <a class="geolink" href="<%= root_path %>"><span class="icon close"></span></a>
+</h2>
 
-<% if @node.visible -%>
-  <%= render :partial => "map", :object => @node %>
-<% end -%>
+<% @node.old_nodes.reverse.each do |node| %>
+  <%= render :partial => "node_details", :object => node %>
+<% end %>
 
-<div class='column-1'>
-  <% @node.old_nodes.reverse.each do |node| %>
-    <%= render :partial => "node_details", :object => node %>
-  <% end %>
+<div class='browse-section secondary-actions clearfix'> 
+  <span><%= link_to(t('browse.node_history.download_xml'), :controller => "old_node", :action => "history") %>
+    &middot;
+  <%= link_to(t('browse.node_history.view_details'), :action => "node") %></span>
 </div>