Skip to content

Commit

Permalink
Improve formatting of Pro Batch Promo
Browse files Browse the repository at this point in the history
Better formatting for mail clients that render plain text in
non-monospaced fonts.
  • Loading branch information
garethrees committed Aug 19, 2024
1 parent bc9ced0 commit f65546b
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 16 deletions.
9 changes: 5 additions & 4 deletions lib/views/alaveteli_pro/embargo_mailer/expired_alert.text.erb
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
+----------------------------------------------------------------+
| Tell us how you've used your requests and get free Pro credit! |
| https://www.mysociety.org/batch-credit-summer-2024 |
+----------------------------------------------------------------+
+----------------------------------------------------------------------------------+
+ 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 ' \
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
+----------------------------------------------------------------+
| Tell us how you've used your requests and get free Pro credit! |
| https://www.mysociety.org/batch-credit-summer-2024 |
+----------------------------------------------------------------+
+----------------------------------------------------------------------------------+
+ 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 ' \
Expand Down
9 changes: 5 additions & 4 deletions lib/views/info_request_batch_mailer/batch_sent.text.erb
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
+----------------------------------------------------------------+
| Tell us how you've used your requests and get free Pro credit! |
| https://www.mysociety.org/batch-credit-summer-2024 |
+----------------------------------------------------------------+
+----------------------------------------------------------------------------------+
+ 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
9 changes: 5 additions & 4 deletions lib/views/notification_mailer/daily_summary.text.erb
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
+----------------------------------------------------------------+
| Tell us how you've used your requests and get free Pro credit! |
| https://www.mysociety.org/batch-credit-summer-2024 |
+----------------------------------------------------------------+
+----------------------------------------------------------------------------------+
+ 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 f65546b

Please sign in to comment.