Use float to position the navigation controls and map on the right rather than a table so that we get more consistent positioning and avoid forcing the map of the right hand side of the viewport.
12 lines
764 B
Text
12 lines
764 B
Text
<%
|
|
@name = printable_name @relation
|
|
@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>
|
|
<%= render :partial => "map", :object => @relation %>
|
|
<% @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") %>
|