]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/browse/way_history.html.erb
Fix common details
[rails.git] / app / views / browse / way_history.html.erb
index 2245017db67f5161391cfee31cc332bd7070ec57..0f82c346cd6a1cbd7115d0640f27d66bdb4fd32a 100644 (file)
@@ -2,11 +2,16 @@
 @name = printable_name @way
 @title = t('browse.way_history.way_history') + ' | ' + @name
 %>
-<h2><%= raw t'browse.way_history.way_history_title', :way_name => link_to(h(@name), :action => "way", :id => @way.id) %></h2>
-<%= render :partial => "map", :object => @way %>
+
+<div class='browse-section header'>
+    <h2><%= raw t'browse.way_history.way_history_title', :way_name => link_to(h(@name), :action => "way", :id => @way.id) %></h2>
+</div>
+
 <% @way.old_ways.reverse.each do |way| %>
   <%= render :partial => "way_details", :object => way %>
-  <hr />
 <% end %>
-<%= raw t'browse.way_history.download', :download_xml_link => link_to(t('browse.way_history.download_xml'), :controller => "old_way", :action => "history"), 
-                                        :view_details_link => link_to(t('browse.way_history.view_details'), :action => "way") %>
+
+<div class='secondary-actions clearfix'>
+  <span><%= link_to(t('browse.way_history.download_xml'), :controller => "old_way", :action => "history") %>
+  <%= link_to(t('browse.way_history.view_details'), :action => "way") %></span>
+</div>