diff options
author | Dave Arter <davea@mysociety.org> | 2019-08-20 11:30:21 +0100 |
---|---|---|
committer | Dave Arter <davea@mysociety.org> | 2019-08-20 11:30:21 +0100 |
commit | 431d4c681406268ba0551a6bf9ec9dca6c1b013b (patch) | |
tree | fc69fedac88102c06a5c582e00bf920ff731a475 | |
parent | 948beadabcb5e3f601dd17dbc3ca7a666f2f3aa7 (diff) |
[Westminster] Add archive email template
-rw-r--r-- | templates/email/westminster/archive.html | 55 | ||||
-rw-r--r-- | templates/email/westminster/archive.txt | 27 |
2 files changed, 82 insertions, 0 deletions
diff --git a/templates/email/westminster/archive.html b/templates/email/westminster/archive.html new file mode 100644 index 000000000..0ecd5889c --- /dev/null +++ b/templates/email/westminster/archive.html @@ -0,0 +1,55 @@ +[% + +email_summary = "Your reports on " _ site_name; + +PROCESS '_email_settings.html'; + +INCLUDE '_email_top.html'; + +%] + +<th style="[% td_style %][% only_column_style %]"> + <h1 style="[% h1_style %]">Your reports on [% site_name %]</h1> + <p style="[% p_style %]"> + Hello [% user.name %], + </p> + <p style="[% p_style %]"> + FixMyStreet is being updated in Westminster to + improve how problems get reported. + </p> + <p style="[% p_style %]"> + As part of this process we are closing all reports + made before the update. + </p> + <p style="[% p_style %]"> + We noticed that you have [% report_count %] old [% nget('report', 'reports', report_count) %] on the system, + which we've listed below. + </p> + <p style="[% p_style %]"> + All of your reports will have been received and reviewed by Westminster, so if + your report is no longer an issue, you don't need to do anything. + </p> + <p style="[% p_style %]"> + If you believe that the issue has not been resolved you can <a href="https://report.westminster.gov.uk/">report it again here.</a> + </p> + + [% FOR report IN reports %] + <div style="[% list_item_style %]"> + [% IF report.photo %] + <a href="[% cobrand.base_url_for_report( report ) %]/report/[% report.id %]"> + <img style="[% list_item_photo_style %]" src="[% inline_image(report.get_first_image_fp) %]" alt=""> + </a> + [% END %] + <h2 style="[% list_item_h2_style %]"><a href="[% cobrand.base_url_for_report( report ) %]/report/[% report.id %]"> + [%~ report.title | html ~%] + </a></h2> + <p style="[% list_item_p_style %]">[% report.detail | html %]</p> + <p style="[% list_item_date_style %]"> + Reported [% report.time_ago %] ago. + </p> + </div> + [% END %] + +</th> + +[% INCLUDE '_email_bottom.html' %] diff --git a/templates/email/westminster/archive.txt b/templates/email/westminster/archive.txt new file mode 100644 index 000000000..657646d9c --- /dev/null +++ b/templates/email/westminster/archive.txt @@ -0,0 +1,27 @@ +Subject: Your reports on [% site_name %] + +Hello [% user.name %], + +FixMyStreet is being updated in Westminster to improve how problems get reported. + +As part of this process we are closing all reports made before the update. + +We noticed that you have [% report_count %] old [% nget('report', 'reports', report_count) %] on the system, which we've listed below. + +All of your reports will have been received and reviewed by Westminster, so if your report is no longer an issue, you don't need to do anything. + +If you believe that the issue has not been resolved you can report it again here: https://report.westminster.gov.uk/ + +[% FOR report IN reports %] + +[% report.title %] + +Reported [% report.time_ago %] ago. + +View report: [% cobrand.base_url_for_report( report ) %]/report/[% report.id %] + +---- + +[% END %] + +The FixMyStreet team and Westminster Council |