2 <% cl = cycle('table0', 'table1') %>
9 <% if changeset.closed_at > DateTime.now %> (still editing)
10 <% else %><%= changeset.closed_at.strftime("%d %b %Y %H:%M") %><% end %>
15 <td class="<%= cl %>">
16 <% if changeset.user.data_public? %>
17 <%= link_to h(changeset.user.display_name), :controller => "user", :action => "view", :display_name => changeset.user.display_name %>
24 <td class="<%= cl %>">
25 <% if changeset.tags['comment'] %>
26 <%= h(changeset.tags['comment']) %>
32 <td class="<%= cl %>">
33 <% if changeset.min_lat.nil? %>
36 minlon = changeset.min_lon/GeoRecord::SCALE.to_f
37 minlat = changeset.min_lat/GeoRecord::SCALE.to_f
38 maxlon = changeset.max_lon/GeoRecord::SCALE.to_f
39 maxlat = changeset.max_lat/GeoRecord::SCALE.to_f
41 (<a href='/?minlon=<%= minlon %>&minlat=<%= minlat %>&maxlon=<%= maxlon %>&maxlat=<%= maxlat %>&box=yes' title='show area box'><%= format("%0.3f",minlon) -%>,<%= format("%0.3f",minlat) -%>,<%= format("%0.3f",maxlon) -%>,<%= format("%0.3f",maxlat) -%></a>)
45 <td class="<%= cl %>">
46 <%= link_to 'more', {:controller => 'browse', :action => 'changeset', :id => changeset.id}, {:title => 'View changeset details'} %>