]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/browse/node_history.html.erb
Style browse 404 page and simplify wording, closes #53
[rails.git] / app / views / browse / node_history.html.erb
index c476b23babdab06aecd69e220012c7cbc377fd45..ed75695610e810b9bff1ce37941fccf48e5a404e 100644 (file)
@@ -1,19 +1,19 @@
 <%
-@name = printable_name @node
-set_title(t('browse.node_history.node_history') + ' | ' + @name)
+  @name = printable_name @node
+  set_title(t('browse.node_history.node_history') + ' | ' + @name)
 %>
 
 <h2>
-    <a class="geolink" href="<%= root_path %>"><span class="icon close"></span></a>
-    <%= 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>
+  <%= 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 %>
 
-<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 class='secondary-actions'>
+  <%= link_to(t('browse.node_history.download_xml'), :controller => "old_node", :action => "history") %>
+  &middot;
+  <%= link_to(t('browse.node_history.view_details'), :action => "node") %>
 </div>