X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/e7147d0d7adae704ead9f4985bcda918e622d833..c0b4c1b9059890e1fb683a9822b966d4efd2698c:/app/views/browse/_changeset_details.rhtml diff --git a/app/views/browse/_changeset_details.rhtml b/app/views/browse/_changeset_details.rhtml index 27335dd88..765fe4778 100644 --- a/app/views/browse/_changeset_details.rhtml +++ b/app/views/browse/_changeset_details.rhtml @@ -5,6 +5,11 @@ <%= h(changeset_details.created_at) %> + + Closed at: + <%= h(changeset_details.closed_at) %> + + <% if changeset_details.user.data_public? %> Belongs to: @@ -21,27 +26,33 @@ - <% end %> + <% else %> + + Tags + There are no tags for this changeset + + <% end %> - <% unless changeset_details.old_nodes.empty? %> + <% unless @nodes.empty? %> - Has the following nodes: + Has the following <%= @node_pages.item_count %> nodes: - <% changeset_details.old_nodes.each do |node| %> + <% @nodes.each do |node| %> <% end %>
<%= link_to "Node #{node.id.to_s}, version #{node.version.to_s}", :action => "node", :id => node.id.to_s %>
+ <%= render :partial => 'paging_nav', :locals => { :pages => @node_pages, :page_param => "node_page"} %> <% end %> - <% unless changeset_details.old_ways.empty? %> + <% unless @ways.empty? %> - Has the following ways: + Has the following <%= @way_pages.item_count %> ways: - <% changeset_details.old_ways.each do |way| %> + <% @ways.each do |way| %> <% end %> <%= @@ -49,20 +60,22 @@ %>
<%= link_to "Way #{way.id.to_s}, version #{way.version.to_s}", :action => "way", :id => way.id.to_s %>
- + + <%= render :partial => 'paging_nav', :locals => { :pages => @way_pages, :page_param => "way_page" } %> <% end %> - <% unless changeset_details.old_relations.empty? %> + <% unless @relations.empty? %> - Has the following relations: + Has the following <%= @relation_pages.item_count %> relations: - <% changeset_details.old_relations.each do |relation| %> + <% @relations.each do |relation| %> <% end %>
<%= link_to "Relation #{relation.id.to_s}, version #{relation.version.to_s}", :action => "relation", :id => relation.id.to_s %>
+ <%= render :partial => 'paging_nav', :locals => { :pages => @relation_pages, :page_param => "relation_page" } %> <% end %>