X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/d69a518b9e69107503b332728dfa583594293ea1..0e7127832037902f83cd15db2d413c23576eade7:/app/views/browse/node_history.rhtml diff --git a/app/views/browse/node_history.rhtml b/app/views/browse/node_history.rhtml index ad46202b7..918be42dc 100644 --- a/app/views/browse/node_history.rhtml +++ b/app/views/browse/node_history.rhtml @@ -1,8 +1,20 @@ +<% +@name = printable_name @node +@title = 'Node History | ' + @name +%>
+ <% @node.old_nodes.reverse.each do |node| %>
+ <%= render :partial => "node_details", :object => node %>
+ + <% end %> + <%= link_to "Download XML", :controller => "old_node", :action => "history" %> + or + <%= link_to "view details", :action => "node" %> + |
+ <%= render :partial => "map", :object => @node %>
+