X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/5620d7263a36fe842f4d97bc21dda5edd0651b37..c372f6cc18cd8353fdd926722c10aa308bd98790:/app/views/browse/way_history.rhtml diff --git a/app/views/browse/way_history.rhtml b/app/views/browse/way_history.rhtml index 32aadb3ff..edb967e9e 100644 --- a/app/views/browse/way_history.rhtml +++ b/app/views/browse/way_history.rhtml @@ -1,8 +1,19 @@ -

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 %> +<% +@name = printable_name @way +@title = t('browse.way_history.way_history') + ' | ' + @name +%> +

<%= t'browse.way_history.way_history_title', :way_name => h(@name) %>

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