-<table width="100%">
- <tr valign="top">
- <td>
- <% @relation.old_relations.reverse.each do |relation| %>
- <%= render :partial => "relation_details", :object => relation %>
- <hr />
- <% end %>
- <%= link_to "Download XML", :controller => "old_relation", :action => "history" %>
- or
- <%= link_to "view details", :action => "relation" %>
- </td>
- <%= render :partial => "map", :object => @relation %>
- </tr>
-</table>
+<% content_for :head do %>
+ <%= stylesheet_link_tag 'browse' %>
+ <%= javascript_include_tag 'index' %>
+<% end %>
+
+<% content_for :sidebar do %>
+ <h2><%= 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 %>
+
+ <ul class='secondary-actions clearfix'>
+ <li><%= link_to(t('browse.relation_history.download_xml'), :controller => "old_relation", :action => "history") %></li>
+ <li><%= link_to(t('browse.relation_history.view_details'), :action => "relation") %></li>
+ </ul>
+<% end %>
+
+<%= render :template => 'layouts/map' %>