X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/4168e0963ee19e05c07b40d30e868fd652fd3757..afe8dd51ece21325eea8a108515b9426764de5b2:/app/views/browse/way_history.rhtml diff --git a/app/views/browse/way_history.rhtml b/app/views/browse/way_history.rhtml index 32aadb3ff..f44405ffa 100644 --- a/app/views/browse/way_history.rhtml +++ b/app/views/browse/way_history.rhtml @@ -1,8 +1,16 @@

Way History: <%= h(@name) %>

-<%= render :partial => 'common', :locals => { :obj => @way, :type => "way" } %> -

Hisorical Versions

-<% @way.old_ways.reverse.each do |way| %> -<%= render :partial => 'common_editedby', :locals => { :obj => way } %> -<%= render :partial => 'tag_table', :locals => { :tags => way.tags } %> -
-<% end %> + + + + + <%= render :partial => "map", :object => @way %> + +
+ <% @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" %> +