diff options
author | Dave Arter <davea@mysociety.org> | 2018-03-28 21:33:35 +0100 |
---|---|---|
committer | Dave Arter <davea@mysociety.org> | 2018-04-03 12:44:25 +0100 |
commit | 99f821a9a8fb17fb100cfd99f895efedc2b9aedd (patch) | |
tree | 700b76ab3cd23b684be2af71ebf940acf932d175 | |
parent | e030cc971d7f94d8fef97987c205207ed4709bcf (diff) |
[Buckinghamshire] Use problem category for alert email subject, not title
-rw-r--r-- | templates/email/buckinghamshire/alert-update.html | 26 | ||||
-rw-r--r-- | templates/email/buckinghamshire/alert-update.txt | 28 |
2 files changed, 54 insertions, 0 deletions
diff --git a/templates/email/buckinghamshire/alert-update.html b/templates/email/buckinghamshire/alert-update.html new file mode 100644 index 000000000..d8d857c26 --- /dev/null +++ b/templates/email/buckinghamshire/alert-update.html @@ -0,0 +1,26 @@ +[% + +title = report.title | html; +category = report.category | html; +email_summary = "New updates on " _ category _ " report"; +email_columns = 2; + +PROCESS '_email_settings.html'; + +INCLUDE '_email_top.html'; + +%] + +<th style="[% td_style %][% primary_column_style %]" id="primary_column"> + [% start_padded_box %] + <h1 style="[% h1_style %]">New updates on <a href="[% problem_url %]">[% category %] report</a></h1> + [%~ INCLUDE '_email_comment_list.html' %] + <p style="[% p_style %]"><a href="[% unsubscribe_url %]">Unsubscribe from alerts about this report</a></p> + [% end_padded_box %] +</th> +[% WRAPPER '_email_sidebar.html' object = report %] + <h2 style="[% h2_style %]">[% title | html %]</h2> + <p style="[% secondary_p_style %]">[% report.detail | html %]</p> +[% END %] + +[% INCLUDE '_email_bottom.html' %] diff --git a/templates/email/buckinghamshire/alert-update.txt b/templates/email/buckinghamshire/alert-update.txt new file mode 100644 index 000000000..159f0abe7 --- /dev/null +++ b/templates/email/buckinghamshire/alert-update.txt @@ -0,0 +1,28 @@ +Subject: New [% site_name %] updates on [% report.category %] report + +You asked us to send you an email every time an update was made to the +[% site_name %] report: [% report.title %]. + +The following updates have been left on this report: + +[% INCLUDE '_email_comment_list.txt' %] + +[% state_message %] + +If you would like to view or reply to these updates, please visit the following URL: + + [% problem_url %] + +This email was sent automatically, from an unmonitored email account - so +please do not reply to it. + +[% signature %] + + +Unsubscribe? + +We currently email you whenever someone leaves an update on the +[% site_name %] report: [% report.title %]. + +If you no longer wish to receive an email whenever this report is updated, +please follow this link: [% unsubscribe_url %] |