X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/4168e0963ee19e05c07b40d30e868fd652fd3757..398d5fa3298b7aacea4a9cbddd0c4e5f8a9e6638:/app/views/browse/way_history.rhtml diff --git a/app/views/browse/way_history.rhtml b/app/views/browse/way_history.rhtml index 32aadb3ff..1eaf52ed5 100644 --- a/app/views/browse/way_history.rhtml +++ b/app/views/browse/way_history.rhtml @@ -1,8 +1,22 @@
+ <% @way.old_ways.reverse.each do |way| %>
+ <%= render :partial => "way_details", :object => way %>
+ + <% end %> + <%= link_to "Download XML", :controller => "old_way", :action => "history" %> + or + <%= link_to "view details", :action => "way" %> + |
+ + <% if @way.visible %> + <%= render :partial => "map", :locals => { :type => "way", :id => @way.id } %> + <% else %> + Deleted + <% end %> + | +