X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/0cb97bd7d96030c07d9716c3d26d39bcd4f712ff..272d73e9a76ff55a05a0889bd02a9e3c31a35910:/app/views/browse/relation_history.rhtml?ds=sidebyside diff --git a/app/views/browse/relation_history.rhtml b/app/views/browse/relation_history.rhtml index f3a75cd07..45f3d1400 100644 --- a/app/views/browse/relation_history.rhtml +++ b/app/views/browse/relation_history.rhtml @@ -1,9 +1,20 @@ -
+ <% @relation.old_relations.reverse.each do |relation| %>
+ <%= render :partial => "relation_details", :object => relation %>
+ + <% end %> + <%= link_to "Download XML", :controller => "old_relation", :action => "history" %> + or + <%= link_to "view details", :action => "relation" %> + |
+ <%= render :partial => "map", :object => @relation %>
+