-<%
- changeset_data = { :id => changeset.id }
+<% changeset_data = { :id => changeset.id }
if changeset.has_valid_bbox?
bbox = changeset.bbox.to_unscaled
:maxlon => bbox.max_lon,
:maxlat => bbox.max_lat
}
- end
-%>
+ end %>
-<%= content_tag "li", :id => "changeset_#{changeset.id}", :data => { :changeset => changeset_data } do %>
- <h4>
- <a class="changeset_id" href="<%= changeset_path(changeset) %>">
+<%= tag.li :id => "changeset_#{changeset.id}", :data => { :changeset => changeset_data }, :class => "list-group-item" do %>
+ <p class="font-italic">
+ <a class="changeset_id text-dark" href="<%= changeset_path(changeset) %>">
<%= changeset.tags["comment"].to_s.presence || t("browse.no_comment") %>
</a>
- </h4>
+ </p>
<div class="comments comments-<%= changeset.comments.length %>">
<%= changeset.comments.length %>
<span class="icon note grey"></span>