]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/browse/relation.html.erb
Rationalize browse translation keys
[rails.git] / app / views / browse / relation.html.erb
index 253d1e2a0f8fcff8128a253017b91cefad9f0e17..39f642417ca5cae5bbefe794e5205e82a7bc6439 100644 (file)
@@ -1,17 +1,17 @@
 <%
-@name = printable_name @relation
-@title = t('browse.relation.relation') + ' | ' + @name
+  @name = printable_name @relation
+  set_title(t('browse.relation.relation') + ' | ' + @name)
 %>
 
-<div class="browse-section header">
-    <h2><%= t'browse.relation.relation_title', :relation_name => @name %>
-        <span class="icon close"></span>
-    </h2>
-</div>
+<h2>
+  <a class="geolink" href="<%= root_path %>"><span class="icon close"></span></a>
+  <%= t'browse.relation.relation_title', :relation_name => @name %>
+</h2>
 
 <%= render :partial => "relation_details", :object => @relation %>
 
-<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 class='secondary-actions'>
+  <%= link_to(t('browse.download_xml'), :controller => "relation", :action => "read") %>
+  &middot;
+  <%= link_to(t('browse.view_history'), :action => "relation_history") %>
 </div>