<% changeset_data = { :id => changeset.id }
- if changeset.has_valid_bbox?
+ if changeset.bbox_valid?
bbox = changeset.bbox.to_unscaled
changeset_data[:bbox] = {
:minlon => bbox.min_lon,
<%= changeset.tags["comment"].to_s.presence || t("browse.no_comment") %>
</a>
</p>
- <div class="comments comments-<%= changeset.comments.length %>">
- <%= changeset.comments.length %>
- <span class="icon note grey"></span>
- </div>
- <div class="details">
- <%= changeset_details(changeset) %>
- ·
- #<%= changeset.id %>
+ <div class="row">
+ <div class="col">
+ <%= changeset_details(changeset) %>
+ ·
+ #<%= changeset.id %>
+ </div>
+ <div class="col-auto comments comments-<%= changeset.comments.length %>">
+ <%= changeset.comments.length %>
+ <span class="icon note grey"></span>
+ </div>
</div>
<% end %>