X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/d69a518b9e69107503b332728dfa583594293ea1..afce15dd86d855381c78d4d31b4baba4db4ce152:/app/views/browse/node_history.rhtml?ds=sidebyside diff --git a/app/views/browse/node_history.rhtml b/app/views/browse/node_history.rhtml index ad46202b7..4a34e3452 100644 --- a/app/views/browse/node_history.rhtml +++ b/app/views/browse/node_history.rhtml @@ -1,8 +1,19 @@ +<% +@name = printable_name @node +@title = t('browse.node_history.node_history') + ' | ' + @name +%>

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

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

Hisorical Versions

-<% @node.old_nodes.reverse.each do |node| %> -<%= render :partial => 'common_editedby', :locals => { :obj => node } %> -<%= render :partial => 'tag_table', :locals => { :tags => node.tags_as_hash } %> -
-<% end %> + + + + + <%= render :partial => "map", :object => @node %> + +
+ <% @node.old_nodes.reverse.each do |node| %> + <%= render :partial => "node_details", :object => node %> +
+ <% end %> + <%= t 'browse.node_history.download', :download_xml_link => link_to(t('browse.node_history.download_xml'), :controller => "old_node", :action => "history"), + :view_details_link => link_to(t('browse.node_history.view_details'), :action => "node") %> +