5 <td><%= h(changeset_details.created_at) %></td>
10 <td><%= h(changeset_details.closed_at) %></td>
13 <% if changeset_details.user.data_public? %>
16 <td><%= link_to h(changeset_details.user.display_name), :controller => "user", :action => "view", :display_name => changeset_details.user.display_name %></td>
20 <% unless changeset_details.tags_as_hash.empty? %>
25 <%= render :partial => "tag", :collection => changeset_details.tags_as_hash %>
32 <td>There are no tags for this changeset</td>
36 <% if changeset_details.max_lat.nil? or changeset_details.min_lat.nil? or changeset_details.max_lon.nil? or changeset_details.min_lon.nil? %>
38 <td>No bounding box has been stored for this changeset.</td>
43 <td colspan="2" style="text-align:center"><b>Max Latitude: </b><%= changeset_details.max_lat/GeoRecord::SCALE.to_f -%></td>
46 <td><b>Min Longitude: </b><%= changeset_details.min_lon/GeoRecord::SCALE.to_f -%></td>
47 <td><b>Max Longitude: </b><%= changeset_details.max_lon/GeoRecord::SCALE.to_f -%></td>
50 <td colspan="2" style="text-align:center"><b>Min Latitude: </b><%= changeset_details.min_lon/GeoRecord::SCALE.to_f -%></td>
55 <% unless @nodes.empty? %>
57 <th>Has the following <%= @node_pages.item_count %> nodes:</th>
60 <% @nodes.each do |node| %>
61 <tr><td><%= link_to "Node #{node.id.to_s}, version #{node.version.to_s}", :action => "node", :id => node.id.to_s %></td></tr>
66 <%= render :partial => 'paging_nav', :locals => { :pages => @node_pages, :page_param => "node_page"} %>
69 <% unless @ways.empty? %>
71 <th>Has the following <%= @way_pages.item_count %> ways:</th>
74 <% @ways.each do |way| %>
75 <tr><td><%= link_to "Way #{way.id.to_s}, version #{way.version.to_s}", :action => "way", :id => way.id.to_s %></td></tr>
78 #render :partial => "containing_relation", :collection => changeset_details.containing_relation_members
83 <%= render :partial => 'paging_nav', :locals => { :pages => @way_pages, :page_param => "way_page" } %>
86 <% unless @relations.empty? %>
88 <th>Has the following <%= @relation_pages.item_count %> relations:</th>
91 <% @relations.each do |relation| %>
92 <tr><td><%= link_to "Relation #{relation.id.to_s}, version #{relation.version.to_s}", :action => "relation", :id => relation.id.to_s %></td></tr>
97 <%= render :partial => 'paging_nav', :locals => { :pages => @relation_pages, :page_param => "relation_page" } %>