Skip to content

Commit

Permalink
Add batch citation promo link to pro mailers
Browse files Browse the repository at this point in the history
Fixes mysociety/whatdotheyknow-private#332

Can be reverted in September 2024.
  • Loading branch information
garethrees committed Aug 15, 2024
1 parent 24b771a commit 8415882
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/views/alaveteli_pro/embargo_mailer/expired_alert.text.erb
Original file line number Diff line number Diff line change
@@ -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.',
Expand Down
Original file line number Diff line number Diff line change
@@ -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.',
Expand Down
5 changes: 5 additions & 0 deletions lib/views/info_request_batch_mailer/batch_sent.text.erb
Original file line number Diff line number Diff line change
@@ -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) %>
Expand Down
5 changes: 5 additions & 0 deletions lib/views/notification_mailer/daily_summary.text.erb
Original file line number Diff line number Diff line change
@@ -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) %>
Expand Down

0 comments on commit 8415882

Please sign in to comment.