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>
37 <th>Bounding box:</th>
38 <% if changeset_details.max_lat.nil? or changeset_details.min_lat.nil? or changeset_details.max_lon.nil? or changeset_details.min_lon.nil? %>
39 <td>No bounding box has been stored for this changeset.</td>
42 minlon = changeset_details.min_lon/GeoRecord::SCALE.to_f
43 minlat = changeset_details.min_lat/GeoRecord::SCALE.to_f
44 maxlon = changeset_details.max_lon/GeoRecord::SCALE.to_f
45 maxlat = changeset_details.max_lat/GeoRecord::SCALE.to_f
50 <td colspan="3" style="text-align:center"><%=maxlat -%></td>
53 <td><%=minlon -%></td>
54 <td>(<a href='/?minlon=<%= minlon %>&minlat=<%= minlat %>&maxlon=<%= maxlon %>&maxlat=<%= maxlat %>&box=yes' title='show area box'>box</a>)</td>
55 <td><%=maxlon -%></td>
58 <td colspan="3" style="text-align:center"><%= minlon -%></td>
65 <% unless @nodes.empty? %>
67 <th>Has the following <%= @node_pages.item_count %> nodes:</th>
70 <% @nodes.each do |node| %>
71 <tr><td><%= link_to "Node #{node.id.to_s}, version #{node.version.to_s}", :action => "node", :id => node.id.to_s %></td></tr>
76 <%= render :partial => 'paging_nav', :locals => { :pages => @node_pages, :page_param => "node_page"} %>
79 <% unless @ways.empty? %>
81 <th>Has the following <%= @way_pages.item_count %> ways:</th>
84 <% @ways.each do |way| %>
85 <tr><td><%= link_to "Way #{way.id.to_s}, version #{way.version.to_s}", :action => "way", :id => way.id.to_s %></td></tr>
88 #render :partial => "containing_relation", :collection => changeset_details.containing_relation_members
93 <%= render :partial => 'paging_nav', :locals => { :pages => @way_pages, :page_param => "way_page" } %>
96 <% unless @relations.empty? %>
98 <th>Has the following <%= @relation_pages.item_count %> relations:</th>
101 <% @relations.each do |relation| %>
102 <tr><td><%= link_to "Relation #{relation.id.to_s}, version #{relation.version.to_s}", :action => "relation", :id => relation.id.to_s %></td></tr>
107 <%= render :partial => 'paging_nav', :locals => { :pages => @relation_pages, :page_param => "relation_page" } %>