<% if changeset_details.user.data_public? %> <% end %> <% unless changeset_details.tags_as_hash.empty? %> <% end %> <% unless changeset_details.old_nodes.empty? %> <% end %> <% unless changeset_details.old_ways.empty? %> <% end %> <% unless changeset_details.old_relations.empty? %> <% end %>
Created at: <%= h(changeset_details.created_at) %>
Belongs to: <%= link_to h(changeset_details.user.display_name), :controller => "user", :action => "view", :display_name => changeset_details.user.display_name %>
Tags: <%= render :partial => "tag", :collection => changeset_details.tags_as_hash %>
Has the following nodes: <% changeset_details.old_nodes.each do |node| %> <% end %>
<%= link_to "Node #{node.id.to_s}, version #{node.version.to_s}", :action => "node", :id => node.id.to_s %>
Has the following ways: <% changeset_details.old_ways.each do |way| %> <% end %> <%= #render :partial => "containing_relation", :collection => changeset_details.containing_relation_members %>
<%= link_to "Way #{way.id.to_s}, version #{way.version.to_s}", :action => "way", :id => way.id.to_s %>
Has the following relations: <% changeset_details.old_relations.each do |relation| %> <% end %>
<%= link_to "Relation #{relation.id.to_s}, version #{relation.version.to_s}", :action => "relation", :id => relation.id.to_s %>