Missed a few changes in a rebase somewhere

This changeset now matches plan-b commit 609a0041
This commit is contained in:
Mike Dalessio
2025-11-17 09:19:46 -05:00
parent e599c462b2
commit 2cb050af33
6 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -86,6 +86,6 @@ module NotificationsHelper
end
def card_notification_title(card)
card.title.presence || "Card #{card.id}"
card.title.presence || "Card #{card.number}"
end
end
+1 -1
View File
@@ -16,7 +16,7 @@ module Comment::Promptable
#### Metadata
* Id: #{id}
* Card id: #{card.id}
* Card id: #{card.number}
* Card title: #{card.title}
* Created by: #{creator.name}}
* Created at: #{created_at}}
+1 -1
View File
@@ -102,7 +102,7 @@ class NotificationPusher
end
def card_notification_title(card)
card.title.presence || "Card #{card.id}"
card.title.presence || "Card #{card.number}"
end
def comment_notification_body(event)
@@ -5,7 +5,7 @@
<% @notifications.group_by(&:card).each do |card, notifications| %>
<h2 class="notification__board"><%= card.board.name %></h2>
<%= link_to "##{ card.id } #{ card.title }", card, class: "card__title" %>
<%= link_to "##{ card.number } #{ card.title }", card, class: "card__title" %>
<%= render partial: "notification/bundle_mailer/notification", collection: notifications, as: :notification %>
<% end %>
@@ -5,7 +5,7 @@ You have <%= pluralize @notifications.count, "new notification" %>.
--------------------------------------------------------------------------------
<%= card.board.name %>
<%= "##{ card.id } #{ card.title }" %>
<%= "##{ card.number } #{ card.title }" %>
--------------------------------------------------------------------------------
@@ -2,7 +2,7 @@
<div class="card__board">
<span class="card__id">
<span class="for-screen-reader">Card number</span>
<%= notification.card.id %>
<%= notification.card.number %>
</span>
<span class="card__board-name">
<span class="overflow-ellipsis"><%= notification.card.board.name %></span>