]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/browse/relation_history.html.erb
Simplify layouting
[rails.git] / app / views / browse / relation_history.html.erb
index 8fb08e6e9c9c94f7d6d31e615c3d17edc058a3fd..486ada5c90a32dd94cdbac7828dce94297d4df9b 100644 (file)
@@ -2,11 +2,18 @@
 @name = printable_name @relation
 @title = t('browse.relation_history.relation_history') + ' | ' + @name
 %>
+
+<% content_for :head do %>
+  <%= stylesheet_link_tag 'browse' %>
+<% end %>
+
 <h2><%= raw 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 %>
-<%= link_to(t('browse.relation_history.download_xml'), :controller => "old_relation", :action => "history") %>
-| <%= link_to(t('browse.relation_history.view_details'), :action => "relation") %>
+
+<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>