]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/browse/relation.html.erb
Add notes sidebar interaction
[rails.git] / app / views / browse / relation.html.erb
index dc634e3af87958e334927dbff2a249f2d2540919..44baa48deb21b22886878ea9b671034432c7e582 100644 (file)
@@ -1,17 +1,16 @@
 <%
 @name = printable_name @relation
-@title = t('browse.relation.relation') + ' | ' + @name
+set_title(t('browse.relation.relation') + ' | ' + @name)
 %>
 
-<% content_for :head do %>
-  <%= stylesheet_link_tag 'browse' %>
-<% end %>
-
-<h2><%= t'browse.relation.relation_title', :relation_name => @name %></h2>
+<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 %>
 
-<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>