2 <% cl = cycle('table0', 'table1') %>
6 id_link = link_to(changeset.id,
7 {:controller => 'browse', :action => 'changeset', :id => changeset.id},
8 {:title => t('changeset.changeset.view_changeset_details')})
9 t'changeset.changeset.id', :id => id_link
13 <td class="<%= cl %> date">
14 <% if changeset.closed_at > DateTime.now %> <%= t'changeset.changeset.still_editing' %>
15 <% else %><%= l changeset.closed_at, :format => :long %><% end %>
20 <td class="<%= cl %> user">
21 <% if changeset.user.data_public? %>
22 <%= link_to h(changeset.user.display_name), :controller => "changeset", :action => "list", :display_name => changeset.user.display_name %>
24 <i><%= t'changeset.changeset.anonymous' %></i>
29 <td class="<%= cl %> comment">
30 <% if changeset.tags['comment'] %>
31 <%= h(changeset.tags['comment']) %>
33 <%= t'changeset.changeset.no_comment' %>
37 <td class="<%= cl %> area">
38 <% if changeset.min_lat.nil? %>
39 <%= t'changeset.changeset.no_edits' %>
41 minlon = changeset.min_lon/GeoRecord::SCALE.to_f
42 minlat = changeset.min_lat/GeoRecord::SCALE.to_f
43 maxlon = changeset.max_lon/GeoRecord::SCALE.to_f
44 maxlat = changeset.max_lat/GeoRecord::SCALE.to_f
46 <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>
47 <!--<%=changeset.area%>-->
48 <% if changeset.area > 1500000000000 %>
49 <%= t'changeset.changeset.big_area' %>