From: Anton Khorev Date: Sat, 8 Mar 2025 13:57:34 +0000 (+0300) Subject: Use filled chat icon for nonzero comment counts in history X-Git-Tag: live~7^2 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/9a1ba12c81f7c79c362e36f14ed7955f5765e833?hp=998ef40d19762fc879c9607941890b058c9014b2 Use filled chat icon for nonzero comment counts in history https://icons.getbootstrap.com/icons/chat-fill/ --- diff --git a/app/views/changesets/_changeset.html.erb b/app/views/changesets/_changeset.html.erb index 2c6809763..18ea581ef 100644 --- a/app/views/changesets/_changeset.html.erb +++ b/app/views/changesets/_changeset.html.erb @@ -17,7 +17,11 @@ :title => t(".comments", :count => changeset.comments.length) do %> <%= changeset.comments.length %> - + <% if changeset.comments.empty? %> + + <% else %> + + <% end %> <% end %> <%= tag.div :class => ["d-flex align-items-baseline gap-1", { "opacity-50" => changeset.num_changes.zero? }],