Create system comments on events

This commit is contained in:
Jorge Manrubia
2025-04-29 20:30:05 +02:00
parent e03f1f7f9b
commit 4ff55df2e0
6 changed files with 79 additions and 4 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
<% if card.messages.comments.any? %>
<div class="card__detail card__comments">
<span aria-hidden="true"><%= card.messages.comments.count %></span>
<span class="for-screen-reader"><%= pluralize(card.messages.comments.count, "comment") %></span>
<span aria-hidden="true"><%= card.comments.count %></span>
<span class="for-screen-reader"><%= pluralize(card.comments.count, "comment") %></span>
</div>
<% end %>