X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/2b4f8e92c969a5508b73ae7af45811a118fda6b1..420a7289a0b08eee091f6650c2e83166df3fbe69:/app/views/changeset/_changeset.html.erb diff --git a/app/views/changeset/_changeset.html.erb b/app/views/changeset/_changeset.html.erb index 5c5ad670b..03ba013a3 100644 --- a/app/views/changeset/_changeset.html.erb +++ b/app/views/changeset/_changeset.html.erb @@ -14,14 +14,14 @@ <%= 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 'browse.no_comment' %> - <% end %> + + <%= changeset.tags['comment'].to_s.presence || t('browse.no_comment') %>

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