X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/49da87fb6d2a9fe8c033a41cd935ee34a8767293..b0a9b39c8d6c2ec32ed0748f8a7130b813fb123e:/app/views/changesets/_changeset.html.erb?ds=inline diff --git a/app/views/changesets/_changeset.html.erb b/app/views/changesets/_changeset.html.erb index 56726e2d9..714cd14b5 100644 --- a/app/views/changesets/_changeset.html.erb +++ b/app/views/changesets/_changeset.html.erb @@ -10,19 +10,21 @@ } end %> -<%= content_tag "li", :id => "changeset_#{changeset.id}", :data => { :changeset => changeset_data } do %> -

- +<%= tag.li :id => "changeset_#{changeset.id}", :data => { :changeset => changeset_data }, :class => "list-group-item" do %> +

+ <%= changeset.tags["comment"].to_s.presence || t("browse.no_comment") %> -

-
- <%= changeset.comments.length %> - -
-
- <%= changeset_details(changeset) %> - · - #<%= changeset.id %> +

+
+
+ <%= changeset_details(changeset) %> + · + #<%= changeset.id %> +
+
+ <%= changeset.comments.length %> + +
<% end %>