]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/browse/way_history.html.erb
Split come changset display logic into a helper
[rails.git] / app / views / browse / way_history.html.erb
index f581dd189611d62bcd7598963e5c411c340b562e..34cfb20ad4f0119a2fb4f271ccfdc38a7ec368a5 100644 (file)
@@ -2,11 +2,17 @@
 @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 %>
+
+<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>
+
 <% @way.old_ways.reverse.each do |way| %>
   <%= render :partial => "way_details", :object => way %>
-  <hr />
 <% end %>
-<%= link_to(t('browse.way_history.download_xml'), :controller => "old_way", :action => "history") %>
-| <%= 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") %>
+    &middot;
+  <%= link_to(t('browse.way_history.view_details'), :action => "way") %></span>
+</div>