X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/44629832dd0207d7b0f50b93f1d00b4373dd4d49..e7e12a38c6585763bfa29ff189cf4c9cea646281:/app/views/changeset/_changeset.html.erb?ds=sidebyside diff --git a/app/views/changeset/_changeset.html.erb b/app/views/changeset/_changeset.html.erb index 5c5ad670b..f27b0bc91 100644 --- a/app/views/changeset/_changeset.html.erb +++ b/app/views/changeset/_changeset.html.erb @@ -15,13 +15,13 @@ <%= 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) %> ·