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 <%= render :partial => "tag_details", :object => changeset_details %>
23 <th>Bounding box:</th>
24 <% if changeset_details.max_lat.nil? or changeset_details.min_lat.nil? or changeset_details.max_lon.nil? or changeset_details.min_lon.nil? %>
25 <td>No bounding box has been stored for this changeset.</td>
28 minlon = changeset_details.min_lon/GeoRecord::SCALE.to_f
29 minlat = changeset_details.min_lat/GeoRecord::SCALE.to_f
30 maxlon = changeset_details.max_lon/GeoRecord::SCALE.to_f
31 maxlat = changeset_details.max_lat/GeoRecord::SCALE.to_f
36 <td colspan="3" style="text-align:center"><%=maxlat -%></td>
39 <td><%=minlon -%></td>
40 <td>(<a href='/?minlon=<%= minlon %>&minlat=<%= minlat %>&maxlon=<%= maxlon %>&maxlat=<%= maxlat %>&box=yes' title='show area box'>box</a>)</td>
41 <td><%=maxlon -%></td>
44 <td colspan="3" style="text-align:center"><%= minlon -%></td>
51 <% unless @nodes.empty? %>
53 <th>Has the following <%= @node_pages.item_count %> nodes:</th>
56 <% @nodes.each do |node| %>
57 <tr><td><%= link_to "Node #{node.id.to_s}, version #{node.version.to_s}", :action => "node", :id => node.id.to_s %></td></tr>
62 <%= render :partial => 'paging_nav', :locals => { :pages => @node_pages, :page_param => "node_page"} %>
65 <% unless @ways.empty? %>
67 <th>Has the following <%= @way_pages.item_count %> ways:</th>
70 <% @ways.each do |way| %>
71 <tr><td><%= link_to "Way #{way.id.to_s}, version #{way.version.to_s}", :action => "way", :id => way.id.to_s %></td></tr>
74 #render :partial => "containing_relation", :collection => changeset_details.containing_relation_members
79 <%= render :partial => 'paging_nav', :locals => { :pages => @way_pages, :page_param => "way_page" } %>
82 <% unless @relations.empty? %>
84 <th>Has the following <%= @relation_pages.item_count %> relations:</th>
87 <% @relations.each do |relation| %>
88 <tr><td><%= link_to "Relation #{relation.id.to_s}, version #{relation.version.to_s}", :action => "relation", :id => relation.id.to_s %></td></tr>
93 <%= render :partial => 'paging_nav', :locals => { :pages => @relation_pages, :page_param => "relation_page" } %>