]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/browse/way_history.html.erb
Fix note formatting issues
[rails.git] / app / views / browse / way_history.html.erb
index 7d16f191adb5de1645dbc64c337acdf41e57909c..6e234454d8638a6d09338c375ab4bb2d17f8f41e 100644 (file)
@@ -1,13 +1,12 @@
 <%
 @name = printable_name @way
-@title = t('browse.way_history.way_history') + ' | ' + @name
+set_title(t('browse.way_history.way_history') + ' | ' + @name)
 %>
 
-<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>
+<h2>
+    <a class="geolink" href="<%= root_path %>"><span class="icon close"></span></a>
+    <%= 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 %>
@@ -15,5 +14,6 @@
 
 <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>