%
@name = printable_name @relation
@title = t('browse.relation_history.relation_history') + ' | ' + @name
%>
<% content_for :head do %>
<%= stylesheet_link_tag 'browse' %>
<% end %>
<% content_for :heading do %>
<%= raw t'browse.relation_history.relation_history_title', :relation_name => link_to(h(@name), :action => "relation", :id => @relation.id) %>
- <%= link_to(t('browse.relation_history.download_xml'), :controller => "old_relation", :action => "history") %>
- <%= link_to(t('browse.relation_history.view_details'), :action => "relation") %>
<% end %>
<%= render :partial => "map", :object => @relation %>
<% @relation.old_relations.reverse.each do |relation| %>
<%= render :partial => "relation_details", :object => relation %>
<% end %>