<%
-@name = printable_name @relation
-@title = t('browse.relation.relation') + ' | ' + @name
+ @name = printable_name @relation
+ set_title(t('browse.relation.relation') + ' | ' + @name)
%>
-<% content_for :head do %>
-<%= stylesheet_link_tag 'browse' %>
-<% end %>
-<%= render :partial => "navigation" %>
-<h2><%= t'browse.relation.relation_title', :relation_name => h(@name) %></h2>
-<%= render :partial => "map", :object => @relation %>
+
+<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 %>
-<hr />
-<%= raw t'browse.relation.download', :download_xml_link => link_to(t('browse.relation.download_xml'), :controller => "relation", :action => "read"),
- :view_history_link => link_to(t('browse.relation.view_history'), :action => "relation_history") %>
+
+<div class='secondary-actions'>
+ <%= link_to(t('browse.download_xml'), :controller => "relation", :action => "read") %>
+ ·
+ <%= link_to(t('browse.view_history'), :action => "relation_history") %>
+</div>