]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/changeset/_changeset.html.erb
Display number of comments in changeset list
[rails.git] / app / views / changeset / _changeset.html.erb
index cbc60695b80a137e8d3fbffbe2bd2c06b6d84155..f27b0bc911be60723a8788d7efc304c4f2d32bab 100644 (file)
       <%= changeset.tags['comment'].to_s.presence || t('browse.no_comment') %>
     </a>
   </h4>
+  <div class="comments comments-<%= changeset.comments.length %>">
+    <%= changeset.comments.length %>
+    <span class="icon note grey"></span>
+  </div>
   <div class="details">
     <%= changeset_details(changeset) %>
     &middot;