2 changeset_data = {:id => changeset.id}
4 if changeset.has_valid_bbox?
5 bbox = changeset.bbox.to_unscaled
6 changeset_data[:bbox] = {
7 :minlon => bbox.min_lon,
8 :minlat => bbox.min_lat,
9 :maxlon => bbox.max_lon,
10 :maxlat => bbox.max_lat
15 <%= content_tag "tr", :class => cycle('table0', 'table1'), :id => "tr-changeset-#{changeset.id}", :data => {:changeset => changeset_data} do %>
18 id_link = link_to(changeset.id,
19 {:controller => 'browse', :action => 'changeset', :id => changeset.id},
20 {:title => t('changeset.changeset.view_changeset_details')})
21 raw t 'changeset.changeset.id', :id => id_link
27 <% if changeset.closed_at > DateTime.now %> <%= t'changeset.changeset.still_editing' %>
28 <% else %><%= l changeset.closed_at, :format => :long %><% end %>
34 <% if changeset.user.data_public? %>
35 <%= link_to h(changeset.user.display_name), :controller => "changeset", :action => "list", :display_name => changeset.user.display_name %>
37 <i><%= t'changeset.changeset.anonymous' %></i>
44 <% if changeset.tags['comment'].to_s != '' %>
45 <%= linkify(h(changeset.tags['comment'])) %>
47 <%= t'changeset.changeset.no_comment' %>