]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/browse/way_history.html.erb
Add close icons
[rails.git] / app / views / browse / way_history.html.erb
index 296ebb3ddbff996c5fe4d59da1d59be58b971f5e..7d16f191adb5de1645dbc64c337acdf41e57909c 100644 (file)
@@ -3,17 +3,17 @@
 @title = t('browse.way_history.way_history') + ' | ' + @name
 %>
 
-<% content_for :heading do %>
-  <h2><%= raw t'browse.way_history.way_history_title', :way_name => link_to(h(@name), :action => "way", :id => @way.id) %></h2>
-  <ul class='secondary-actions clearfix'>
-    <li><%= link_to(t('browse.way_history.download_xml'), :controller => "old_way", :action => "history") %></li>
-    <li><%= link_to(t('browse.way_history.view_details'), :action => "way") %></li>
-  </ul>
-<% end %>
+<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) %>
+        <span class="icon close"></span>
+    </h2>
+</div>
 
-<%= render :partial => "map", :object => @way %>
-<div class='column-1'>
 <% @way.old_ways.reverse.each do |way| %>
   <%= render :partial => "way_details", :object => way %>
 <% end %>
-</div>
\ No newline at end of file
+
+<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>