From dd5e45c93d7a34dacae4c0fcdffd8351f64072cf Mon Sep 17 00:00:00 2001 From: Jason Zimdars Date: Wed, 7 May 2025 15:09:47 -0500 Subject: [PATCH] Display card number in notifications and events --- app/views/events/event/_layout.html.erb | 2 +- app/views/notifications/notification/_event.html.erb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/events/event/_layout.html.erb b/app/views/events/event/_layout.html.erb index 44e9e526a..be948aa12 100644 --- a/app/views/events/event/_layout.html.erb +++ b/app/views/events/event/_layout.html.erb @@ -24,6 +24,6 @@ <%= yield %> - <%= event.collection.name %> + <%= card.id %> · <%= event.collection.name %> <% end %> diff --git a/app/views/notifications/notification/_event.html.erb b/app/views/notifications/notification/_event.html.erb index 2dd8d16ee..8768d3d19 100644 --- a/app/views/notifications/notification/_event.html.erb +++ b/app/views/notifications/notification/_event.html.erb @@ -4,4 +4,4 @@
<%= event_notification_body(event) %>
-
<%= notification.source.collection.name %> · <%= local_datetime_tag(notification.created_at, style: :ago) %>
+
<%= event.eventable.id %> · <%= notification.source.collection.name %> · <%= local_datetime_tag(notification.created_at, style: :ago) %>