]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/changesets/_changeset.html.erb
Simplify remaining link_to ... user_path in views
[rails.git] / app / views / changesets / _changeset.html.erb
index a59c85ec4ba18632e8d9a27dcfd4c0a1606d406d..a4357a3f5ae677e1a7a22f822d32f8574e0dd469 100644 (file)
@@ -24,7 +24,7 @@
         #<%= changeset.id %>
       </a>
     </div>
-    <div class="col-auto comments comments-<%= changeset.comments.length %>">
+    <div class="col-auto text-secondary<%= " opacity-50" if changeset.comments.empty? %>">
       <%= changeset.comments.length %>
       <span class="icon note grey"></span>
     </div>