From 37e6b2461e0d773eb03a6701b3a034a7524184da Mon Sep 17 00:00:00 2001 From: Jorge Manrubia Date: Fri, 14 Nov 2025 12:27:13 +0100 Subject: [PATCH] Headers are indentical --- .../notifications/_notification.html.erb | 2 +- .../notification/{event => }/_header.html.erb | 0 .../notification/mention/_header.html.erb | 22 ------------------- 3 files changed, 1 insertion(+), 23 deletions(-) rename app/views/notifications/notification/{event => }/_header.html.erb (100%) delete mode 100644 app/views/notifications/notification/mention/_header.html.erb diff --git a/app/views/notifications/_notification.html.erb b/app/views/notifications/_notification.html.erb index b945960b8..40d413c2b 100644 --- a/app/views/notifications/_notification.html.erb +++ b/app/views/notifications/_notification.html.erb @@ -2,7 +2,7 @@ <%= notification_tag notification do %>
- <%= render "notifications/notification/#{notification.source_type.underscore}/header", notification: notification %> + <%= render "notifications/notification/header", notification: notification %>
diff --git a/app/views/notifications/notification/event/_header.html.erb b/app/views/notifications/notification/_header.html.erb similarity index 100% rename from app/views/notifications/notification/event/_header.html.erb rename to app/views/notifications/notification/_header.html.erb diff --git a/app/views/notifications/notification/mention/_header.html.erb b/app/views/notifications/notification/mention/_header.html.erb deleted file mode 100644 index 8030724ec..000000000 --- a/app/views/notifications/notification/mention/_header.html.erb +++ /dev/null @@ -1,22 +0,0 @@ -
- - Card number - <%= notification.card.id %> - - - <%= notification.card.board.name %> - -
- -
- <%= notification.creator.familiar_name %> -
- -
- <%= local_datetime_tag(notification.created_at, style: :timeordate) %> -
- -
- <%= notification_toggle_read_button(notification) %> -
-