From adc91b982312c1923e25cd87a577b08ff64c4a68 Mon Sep 17 00:00:00 2001 From: Jason Zimdars Date: Wed, 27 Aug 2025 10:42:02 -0500 Subject: [PATCH] Can just put this in the header --- app/views/mailers/notification/bundle_mailer/_footer.html.erb | 3 --- app/views/mailers/notification/bundle_mailer/_footer.text.erb | 1 - app/views/mailers/notification/bundle_mailer/_header.html.erb | 2 +- app/views/mailers/notification/bundle_mailer/_header.text.erb | 2 +- .../mailers/notification/bundle_mailer/_notification.html.erb | 1 - .../mailers/notification/bundle_mailer/_notification.text.erb | 2 -- 6 files changed, 2 insertions(+), 9 deletions(-) delete mode 100644 app/views/mailers/notification/bundle_mailer/_footer.html.erb delete mode 100644 app/views/mailers/notification/bundle_mailer/_footer.text.erb diff --git a/app/views/mailers/notification/bundle_mailer/_footer.html.erb b/app/views/mailers/notification/bundle_mailer/_footer.html.erb deleted file mode 100644 index aa1b4a282..000000000 --- a/app/views/mailers/notification/bundle_mailer/_footer.html.erb +++ /dev/null @@ -1,3 +0,0 @@ -

- <%= notification.creator.name %> -

diff --git a/app/views/mailers/notification/bundle_mailer/_footer.text.erb b/app/views/mailers/notification/bundle_mailer/_footer.text.erb deleted file mode 100644 index 6ab8bb14f..000000000 --- a/app/views/mailers/notification/bundle_mailer/_footer.text.erb +++ /dev/null @@ -1 +0,0 @@ -<%= notification.creator.name %> \ No newline at end of file diff --git a/app/views/mailers/notification/bundle_mailer/_header.html.erb b/app/views/mailers/notification/bundle_mailer/_header.html.erb index 2cf916c5d..b9ba83e74 100644 --- a/app/views/mailers/notification/bundle_mailer/_header.html.erb +++ b/app/views/mailers/notification/bundle_mailer/_header.html.erb @@ -1 +1 @@ -

#<%= notification.card.id %> | <%= notification.card.collection.name %>

+

#<%= notification.card.id %> | <%= notification.card.collection.name %> | <%= notification.creator.name %>

diff --git a/app/views/mailers/notification/bundle_mailer/_header.text.erb b/app/views/mailers/notification/bundle_mailer/_header.text.erb index db036727d..311033d33 100644 --- a/app/views/mailers/notification/bundle_mailer/_header.text.erb +++ b/app/views/mailers/notification/bundle_mailer/_header.text.erb @@ -1 +1 @@ -#<%= notification.card.id %> | <%= notification.card.collection.name %> \ No newline at end of file +#<%= notification.card.id %> | <%= notification.card.collection.name %> | <%= notification.creator.name %> \ No newline at end of file diff --git a/app/views/mailers/notification/bundle_mailer/_notification.html.erb b/app/views/mailers/notification/bundle_mailer/_notification.html.erb index 20210ac2e..5dfddcf31 100644 --- a/app/views/mailers/notification/bundle_mailer/_notification.html.erb +++ b/app/views/mailers/notification/bundle_mailer/_notification.html.erb @@ -4,7 +4,6 @@ <%= render "notification/bundle_mailer/header", notification: notification %> <%= render "notification/bundle_mailer/#{notification.source_type.underscore}/body", notification: notification %> - <%= render "notification/bundle_mailer/footer", notification: notification %> diff --git a/app/views/mailers/notification/bundle_mailer/_notification.text.erb b/app/views/mailers/notification/bundle_mailer/_notification.text.erb index ad2d7f1d4..baaee2bf5 100644 --- a/app/views/mailers/notification/bundle_mailer/_notification.text.erb +++ b/app/views/mailers/notification/bundle_mailer/_notification.text.erb @@ -1,7 +1,5 @@ ================================================================================ -[<%= notification.creator.name %>] <%= render "notification/bundle_mailer/header", notification: notification %> <%= render "notification/bundle_mailer/#{notification.source_type.underscore}/body", notification: notification %> -<%= render "notification/bundle_mailer/footer", notification: notification %>