diff --git a/app/helpers/notifications_helper.rb b/app/helpers/notifications_helper.rb index f09153cff..029c328bb 100644 --- a/app/helpers/notifications_helper.rb +++ b/app/helpers/notifications_helper.rb @@ -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 diff --git a/app/models/comment/promptable.rb b/app/models/comment/promptable.rb index 10b49c247..80488f76a 100644 --- a/app/models/comment/promptable.rb +++ b/app/models/comment/promptable.rb @@ -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}} diff --git a/app/models/notification_pusher.rb b/app/models/notification_pusher.rb index d018c30a6..acb5603a1 100644 --- a/app/models/notification_pusher.rb +++ b/app/models/notification_pusher.rb @@ -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) diff --git a/app/views/mailers/notification/bundle_mailer/notification.html.erb b/app/views/mailers/notification/bundle_mailer/notification.html.erb index 956baea91..616e49a8c 100644 --- a/app/views/mailers/notification/bundle_mailer/notification.html.erb +++ b/app/views/mailers/notification/bundle_mailer/notification.html.erb @@ -5,7 +5,7 @@ <% @notifications.group_by(&:card).each do |card, notifications| %>