]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/browse/way_history.html.erb
Remove unused
[rails.git] / app / views / browse / way_history.html.erb
index 8959a3fd4b1a8a565a99e13b6d48ffca0c8631e5..6e234454d8638a6d09338c375ab4bb2d17f8f41e 100644 (file)
@@ -1,10 +1,11 @@
 <%
 @name = printable_name @way
-@title = t('browse.way_history.way_history') + ' | ' + @name
+set_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>
     <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| %>