]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/browse/relation_history.html.erb
Float the close icon, closes #40
[rails.git] / app / views / browse / relation_history.html.erb
index cf100b77eda7d1485bae5eb40b34b26ac300b2a2..d059b11b449208195d0d1aa87f37767373664722 100644 (file)
@@ -3,9 +3,10 @@
 @title = t('browse.relation_history.relation_history') + ' | ' + @name
 %>
 
-<div class='browse-section header'>
-    <h2><%= raw t'browse.relation_history.relation_history_title', :relation_name => link_to(h(@name), :action => "relation", :id => @relation.id) %></h2>
-</div>
+<h2>
+    <a class="geolink" href="<%= root_path %>"><span class="icon close"></span></a>
+    <%= raw t'browse.relation_history.relation_history_title', :relation_name => link_to(h(@name), :action => "relation", :id => @relation.id) %>
+</h2>
 
 <% @relation.old_relations.reverse.each do |relation| %>
   <%= render :partial => "relation_details", :object => relation %>