<%
-@name = printable_name @relation
-@title = t('browse.relation_history.relation_history') + ' | ' + @name
+ @name = printable_name @relation
+ set_title(t('browse.relation_history.relation_history') + ' | ' + @name)
%>
-<h2><%= t'browse.relation_history.relation_history_title', :relation_name => link_to(h(@name), :action => "relation", :id => @relation.id) %></h2>
-<table width="100%">
- <tr valign="top">
- <td>
- <% @relation.old_relations.reverse.each do |relation| %>
- <%= render :partial => "relation_details", :object => relation %>
- <hr />
- <% end %>
- <%= t'browse.relation_history.download', :download_xml_link => link_to(t('browse.relation_history.download_xml'), :controller => "old_relation", :action => "history"),
- :view_details_link => link_to(t('browse.relation_history.view_details'), :action => "relation") %>
- or
- <%= link_to "view details", :action => "relation" %>
- </td>
- <%= render :partial => "map", :object => @relation %>
- </tr>
-</table>
+<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 %>
+<% end %>
+
+<div class='secondary-actions'>
+ <%= link_to(t('browse.relation_history.download_xml'), :controller => "old_relation", :action => "history") %>
+ ·
+ <%= link_to(t('browse.relation_history.view_details'), :action => "relation") %>
+</div>