]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/browse/relation_history.html.erb
Refactor browse templates
[rails.git] / app / views / browse / relation_history.html.erb
diff --git a/app/views/browse/relation_history.html.erb b/app/views/browse/relation_history.html.erb
deleted file mode 100644 (file)
index 1656b36..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-<%
-  @name = printable_name @relation
-  set_title(t('browse.relation.relation_history') + ' | ' + @name)
-%>
-
-<h2>
-  <a class="geolink" href="<%= root_path %>"><span class="icon close"></span></a>
-  <%= raw t'browse.relation.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 %>
-
-<div class='secondary-actions'>
-  <%= link_to(t('browse.download_xml'), :controller => "old_relation", :action => "history") %>
-  &middot;
-  <%= link_to(t('browse.view_details'), :action => "relation") %>
-</div>