]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/browse/relation.html.erb
Improve pagination in changeset details
[rails.git] / app / views / browse / relation.html.erb
index 213e5108f744e7eeaa7bc4019b4c9c8d32d931de..2db0d0f44bd3f7ef613d282c38bcc45e90648a63 100644 (file)
@@ -3,11 +3,13 @@
 @title = t('browse.relation.relation') + ' | ' + @name
 %>
 
-<h2><%= t'browse.relation.relation_title', :relation_name => @name %></h2>
+<h2><%= t'browse.relation.relation_title', :relation_name => @name %>
+    <a class="geolink" href="<%= root_path %>"><span class="icon close"></span></a>
+</h2>
 
 <%= render :partial => "relation_details", :object => @relation %>
 
-<ul class='secondary-actions clearfix'>
-  <li><%= link_to(t('browse.relation.download_xml'), :controller => "relation", :action => "read") %></li>
-  <li><%= link_to(t('browse.relation.view_history'), :action => "relation_history") %></li>
-</ul>
+<div class='secondary-actions clearfix'>
+  <span><%= link_to(t('browse.relation.download_xml'), :controller => "relation", :action => "read") %>
+  <%= link_to(t('browse.relation.view_history'), :action => "relation_history") %></span>
+</div>