X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/4b2bd4835dc36384f9085aa5cc115ed6dca8e031..bb9f20710e851eb4943bfb8e63386680e359834a:/app/views/changeset/_changeset.html.erb diff --git a/app/views/changeset/_changeset.html.erb b/app/views/changeset/_changeset.html.erb index 3f2cb319b..f27b0bc91 100644 --- a/app/views/changeset/_changeset.html.erb +++ b/app/views/changeset/_changeset.html.erb @@ -13,14 +13,18 @@ %> <%= content_tag "li", :id => "changeset_#{changeset.id}", :data => {:changeset => changeset_data} do %> -

- - <% if changeset.tags['comment'].to_s != '' %> - <%= linkify(h(changeset.tags['comment'])) %> - <% else %> - <%= t 'changeset.changeset.no_comment' %> - <% end %> - -

-

<%= changeset_details(changeset) %>

+

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

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