X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/5620d7263a36fe842f4d97bc21dda5edd0651b37..010dc8719596add0fec05a7d43f677dffdf03beb:/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 History: <%= h(@name) %>

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

Hisorical Versions

-<% @relation.old_relations.reverse.each do |relation| %> -<%= render :partial => 'common_editedby', :locals => { :obj => relation } %> -<%= render :partial => 'tag_table', :locals => { :tags => relation.tags } %> -<%= render :partial => 'relation_members', :locals => { :members => relation.old_members } %> -
-<% end %> +<% +@name = printable_name @relation +@title = t('browse.relation_history.relation_history') + ' | ' + @name +%> +

<%= t'browse.relation_history.relation_history_title', :relation_name => h(@name) %>

+ + + + + <%= render :partial => "map", :object => @relation %> + +
+ <% @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" %> +