2 <% cl = cycle('table0', 'table1') %>
8 <td class="<%= cl %> date">
9 <% if changeset.closed_at > DateTime.now %> <%= t'changeset.changeset.still_editing' %>
10 <% else %><%= changeset.closed_at.strftime("%d %b %Y %H:%M") %><% end %>
15 <td class="<%= cl %> user">
16 <% if changeset.user.data_public? %>
17 <%= link_to h(changeset.user.display_name), :controller => "changeset", :action => "list", :display_name => changeset.user.display_name %>
19 <i><%= t'changeset.changeset.anonymous' %></i>
24 <td class="<%= cl %> comment">
25 <% if changeset.tags['comment'] %>
26 <%= h(changeset.tags['comment']) %>
28 <%= t'changeset.changeset.no_comment' %>
32 <td class="<%= cl %> area">
33 <% if changeset.min_lat.nil? %>
34 <%= t'changeset.changeset.no_edits' %>
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='<%= t'changeset.changeset.show_area_box' %>'><%= format("%0.3f",minlon) -%>,<%= format("%0.3f",minlat) -%>,<%= format("%0.3f",maxlon) -%>,<%= format("%0.3f",maxlat) -%></a>
42 <!--<%=changeset.area%>-->
43 <% if changeset.area > 1500000000000 %>
44 <%= t'changeset.changeset.big_area' %>
51 <td class="<%= cl %>">
52 <%= link_to t('changeset.changeset.more'), {:controller => 'browse', :action => 'changeset', :id => changeset.id}, {:title => t('changeset.changeset.view_changeset_details')} %>