4 <th><%= t 'browse.changeset_details.created_at' %></th>
5 <td><%= l changeset_details.created_at %></td>
9 <th><%= t 'browse.changeset_details.closed_at' %></th>
10 <td><%= l changeset_details.closed_at %></td>
13 <% if changeset_details.user.data_public? %>
15 <th><%= t 'browse.changeset_details.belongs_to' %></th>
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><%= t 'browse.changeset_details.bounding_box' %></th>
24 <% unless changeset_details.has_valid_bbox? %>
25 <td><%= t 'browse.changeset_details.no_bounding_box' %></td>
27 minlon = changeset_details.min_lon/GeoRecord::SCALE.to_f
28 minlat = changeset_details.min_lat/GeoRecord::SCALE.to_f
29 maxlon = changeset_details.max_lon/GeoRecord::SCALE.to_f
30 maxlat = changeset_details.max_lat/GeoRecord::SCALE.to_f
35 <td colspan="3" style="text-align:center"><%=maxlat -%></td>
38 <td><%=minlon -%></td>
39 <td>(<a href='/?minlon=<%= minlon %>&minlat=<%= minlat %>&maxlon=<%= maxlon %>&maxlat=<%= maxlat %>&box=yes' title='<%= t 'browse.changeset_details.show_area_box' %>'><%= t 'browse.changeset_details.box' %></a>)</td>
40 <td><%=maxlon -%></td>
43 <td colspan="3" style="text-align:center"><%= minlat -%></td>
50 <% unless @nodes.empty? %>
52 <th><%= t 'browse.changeset_details.has_nodes', :node_count => @node_pages.item_count %></th>
54 <table cellpadding="0">
55 <% @nodes.each do |node| %>
56 <tr><td><%= link_to h(printable_name(node, true)), :action => "node", :id => node.id.to_s %></td></tr>
61 <%= render :partial => 'paging_nav', :locals => { :pages => @node_pages, :page_param => "node_page"} %>
64 <% unless @ways.empty? %>
66 <th><%= t 'browse.changeset_details.has_ways', :way_count => @way_pages.item_count %></th>
68 <table cellpadding="0">
69 <% @ways.each do |way| %>
70 <tr><td><%= link_to h(printable_name(way, true)), :action => "way", :id => way.id.to_s %></td></tr>
73 #render :partial => "containing_relation", :collection => changeset_details.containing_relation_members
78 <%= render :partial => 'paging_nav', :locals => { :pages => @way_pages, :page_param => "way_page" } %>
81 <% unless @relations.empty? %>
83 <th><%= t 'browse.changeset_details.has_relations', :relation_count => @relation_pages.item_count %></th>
85 <table cellpadding="0">
86 <% @relations.each do |relation| %>
87 <tr><td><%= link_to h(printable_name(relation, true)), :action => "relation", :id => relation.id.to_s %></td></tr>
92 <%= render :partial => 'paging_nav', :locals => { :pages => @relation_pages, :page_param => "relation_page" } %>