X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/2c16177174d276335babcca5439cd4e97af62ffa..b7b2b502cf2b119208e3c1f79e4a4e38cc0edcc5:/app/views/browse/_changeset_details.rhtml
diff --git a/app/views/browse/_changeset_details.rhtml b/app/views/browse/_changeset_details.rhtml
index d8a911f8a..27335dd88 100644
--- a/app/views/browse/_changeset_details.rhtml
+++ b/app/views/browse/_changeset_details.rhtml
@@ -1,19 +1,68 @@
- <%= render :partial => "common_details", :object => changeset_details %>
+
+ Created at: |
+ <%= h(changeset_details.created_at) %> |
+
+
+ <% if changeset_details.user.data_public? %>
+
+ Belongs to: |
+ <%= link_to h(changeset_details.user.display_name), :controller => "user", :action => "view", :display_name => changeset_details.user.display_name %> |
+
+ <% end %>
+
+ <% unless changeset_details.tags_as_hash.empty? %>
+
+ Tags: |
+
+
+ <%= render :partial => "tag", :collection => changeset_details.tags_as_hash %>
+
+ |
+
+ <% end %>
- <% unless node_details.ways.empty? and node_details.containing_relation_members.empty? %>
+ <% unless changeset_details.old_nodes.empty? %>
+
+ Has the following nodes: |
+
+
+ <% changeset_details.old_nodes.each do |node| %>
+ <%= link_to "Node #{node.id.to_s}, version #{node.version.to_s}", :action => "node", :id => node.id.to_s %> |
+ <% end %>
+
+ |
+
+ <% end %>
+
+ <% unless changeset_details.old_ways.empty? %>
- Part of: |
+ Has the following ways: |
- <% node_details.ways.each do |way| %>
- <%= link_to "Way " + way.id.to_s, :action => "way", :id => way.id.to_s %> |
+ <% changeset_details.old_ways.each do |way| %>
+ <%= link_to "Way #{way.id.to_s}, version #{way.version.to_s}", :action => "way", :id => way.id.to_s %> |
<% end %>
- <%= render :partial => "containing_relation", :collection => node_details.containing_relation_members %>
+ <%=
+ #render :partial => "containing_relation", :collection => changeset_details.containing_relation_members
+ %>
|
<% end %>
+
+ <% unless changeset_details.old_relations.empty? %>
+
+ Has the following relations: |
+
+
+ <% changeset_details.old_relations.each do |relation| %>
+ <%= link_to "Relation #{relation.id.to_s}, version #{relation.version.to_s}", :action => "relation", :id => relation.id.to_s %> |
+ <% end %>
+
+ |
+
+ <% end %>