From 8415882d41acbf9650c6d0ffd2d48d84e441b370 Mon Sep 17 00:00:00 2001 From: Gareth Rees Date: Thu, 15 Aug 2024 16:40:44 +0100 Subject: [PATCH] Add batch citation promo link to pro mailers Fixes https://github.com/mysociety/whatdotheyknow-private/issues/332 Can be reverted in September 2024. --- .../alaveteli_pro/embargo_mailer/expired_alert.text.erb | 5 +++++ .../alaveteli_pro/embargo_mailer/expiring_alert.text.erb | 5 +++++ lib/views/info_request_batch_mailer/batch_sent.text.erb | 5 +++++ lib/views/notification_mailer/daily_summary.text.erb | 5 +++++ 4 files changed, 20 insertions(+) diff --git a/lib/views/alaveteli_pro/embargo_mailer/expired_alert.text.erb b/lib/views/alaveteli_pro/embargo_mailer/expired_alert.text.erb index 706972fc..1b54315d 100644 --- a/lib/views/alaveteli_pro/embargo_mailer/expired_alert.text.erb +++ b/lib/views/alaveteli_pro/embargo_mailer/expired_alert.text.erb @@ -1,3 +1,8 @@ ++----------------------------------------------------------------+ +| Tell us how you've used your requests and get free Pro credit! | +| https://www.mysociety.org/batch-credit-summer-2024 | ++----------------------------------------------------------------+ + <%= n_('The following request has been made public on {{site_name}} this week.', 'The following requests have been made public on {{site_name}} this ' \ 'week.', diff --git a/lib/views/alaveteli_pro/embargo_mailer/expiring_alert.text.erb b/lib/views/alaveteli_pro/embargo_mailer/expiring_alert.text.erb index 97dbfe5c..5c274af5 100644 --- a/lib/views/alaveteli_pro/embargo_mailer/expiring_alert.text.erb +++ b/lib/views/alaveteli_pro/embargo_mailer/expiring_alert.text.erb @@ -1,3 +1,8 @@ ++----------------------------------------------------------------+ +| Tell us how you've used your requests and get free Pro credit! | +| https://www.mysociety.org/batch-credit-summer-2024 | ++----------------------------------------------------------------+ + <%= n_('The following request will be made public on {{site_name}} in the ' \ 'next week. If you do not wish this request to go public at that ' \ 'time, please click on the link below to keep it private for longer.', diff --git a/lib/views/info_request_batch_mailer/batch_sent.text.erb b/lib/views/info_request_batch_mailer/batch_sent.text.erb index 1d80d433..b7c67cc8 100644 --- a/lib/views/info_request_batch_mailer/batch_sent.text.erb +++ b/lib/views/info_request_batch_mailer/batch_sent.text.erb @@ -1,3 +1,8 @@ ++----------------------------------------------------------------+ +| Tell us how you've used your requests and get free Pro credit! | +| https://www.mysociety.org/batch-credit-summer-2024 | ++----------------------------------------------------------------+ + <%= _('Your batch request "{{title}}" has been sent', :title => @info_request_batch.title.html_safe) %> diff --git a/lib/views/notification_mailer/daily_summary.text.erb b/lib/views/notification_mailer/daily_summary.text.erb index 00cdb7ae..c6a14558 100644 --- a/lib/views/notification_mailer/daily_summary.text.erb +++ b/lib/views/notification_mailer/daily_summary.text.erb @@ -1,3 +1,8 @@ ++----------------------------------------------------------------+ +| Tell us how you've used your requests and get free Pro credit! | +| https://www.mysociety.org/batch-credit-summer-2024 | ++----------------------------------------------------------------+ + <%= _("Here's your daily request summary from {{site_name}}:", site_name: site_name.html_safe) %>