]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/browse/way_history.html.erb
Improve changeset template
[rails.git] / app / views / browse / way_history.html.erb
index 7fe4feeb27cfe0e483fbff8dfcce76c452e731a2..79c1a99a4737243dfbc3f320ac7ec0d02fcaa7ba 100644 (file)
@@ -3,21 +3,18 @@
 @title = t('browse.way_history.way_history') + ' | ' + @name
 %>
 
-<% content_for :head do %>
-  <%= stylesheet_link_tag 'browse' %>
-<% end %>
-
-<% content_for :sidebar do %>
-  <h2><%= raw t'browse.way_history.way_history_title', :way_name => link_to(h(@name), :action => "way", :id => @way.id) %></h2>
-
-  <% @way.old_ways.reverse.each do |way| %>
-    <%= render :partial => "way_details", :object => way %>
-  <% 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>
 
-  <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>
+<% @way.old_ways.reverse.each do |way| %>
+  <%= render :partial => "way_details", :object => way %>
 <% end %>
 
-<%= render :template => 'layouts/map' %>
+<div class='secondary-actions clearfix'>
+  <span><%= link_to(t('browse.way_history.download_xml'), :controller => "old_way", :action => "history") %>
+    &middot;
+  <%= link_to(t('browse.way_history.view_details'), :action => "way") %></span>
+</div>