X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/054f934f27e79ab0f7a25a89b6b719cc2cb0cb06..9f3dace353d08417d23624781f059bd61dd56c52:/app/views/browse/way_history.html.erb diff --git a/app/views/browse/way_history.html.erb b/app/views/browse/way_history.html.erb index a05d0c125..0f82c346c 100644 --- a/app/views/browse/way_history.html.erb +++ b/app/views/browse/way_history.html.erb @@ -3,13 +3,15 @@ @title = t('browse.way_history.way_history') + ' | ' + @name %> -

<%= raw t'browse.way_history.way_history_title', :way_name => link_to(h(@name), :action => "way", :id => @way.id) %>

+
+

<%= raw t'browse.way_history.way_history_title', :way_name => link_to(h(@name), :action => "way", :id => @way.id) %>

+
<% @way.old_ways.reverse.each do |way| %> <%= render :partial => "way_details", :object => way %> <% end %> - +
+ <%= link_to(t('browse.way_history.download_xml'), :controller => "old_way", :action => "history") %> + <%= link_to(t('browse.way_history.view_details'), :action => "way") %> +