]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/browse/relation_history.html.erb
Convert search to pushState
[rails.git] / app / views / browse / relation_history.html.erb
index 4080bccb7a4095e716e5b563bc746f318d685450..6112d834e5530781f9a6246b851f3ed836ba9a8d 100644 (file)
@@ -2,11 +2,14 @@
 @name = printable_name @relation
 @title = t('browse.relation_history.relation_history') + ' | ' + @name
 %>
+
 <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 %>
-<%= raw 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") %>
+
+<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>