diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/email/tfl/other-reported.html | 26 | ||||
-rw-r--r-- | templates/email/tfl/other-reported.txt | 24 | ||||
-rw-r--r-- | templates/email/tfl/problem-confirm.html | 28 | ||||
-rw-r--r-- | templates/email/tfl/problem-confirm.txt | 31 |
4 files changed, 109 insertions, 0 deletions
diff --git a/templates/email/tfl/other-reported.html b/templates/email/tfl/other-reported.html new file mode 100644 index 000000000..4d7579b30 --- /dev/null +++ b/templates/email/tfl/other-reported.html @@ -0,0 +1,26 @@ +[% + +email_summary = "Thanks for logging your 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 %]">Your report has been logged</h1> + <p style="[% p_style %]">Your report to Transport for London has been logged on [% site_name %].</p> +[% TRY %][% INCLUDE '_council_reference.html' problem=report %][% CATCH file %][% END %] + <p style="margin: 20px auto; text-align: center"> + <a style="[% button_style %]" href="[% cobrand.base_url_for_report(report) %][% report.url %]">View my report</a> + </p> + [% end_padded_box %] +</th> +[% WRAPPER '_email_sidebar.html' object = report %] + <h2 style="[% h2_style %]">[% report.title | html %]</h2> + <p style="[% secondary_p_style %]">[% report.detail | html %]</p> +[% END %] + +[% INCLUDE '_email_bottom.html' %] diff --git a/templates/email/tfl/other-reported.txt b/templates/email/tfl/other-reported.txt new file mode 100644 index 000000000..6c959493f --- /dev/null +++ b/templates/email/tfl/other-reported.txt @@ -0,0 +1,24 @@ +Subject: Your report has been logged: [% report.title %] + +Hello [% report.name %], + +Your report to Transport for London has been logged on [% site_name %]. + +[% TRY %][% INCLUDE '_council_reference.txt' problem=report %][% CATCH file %][% END %] + +It is available to view at: + +[% cobrand.base_url_for_report(report) %][% report.url %] + +Your report has the title: + +[% report.title %] + +And details: + +[% report.detail %] + +[% signature %] + +This email was sent automatically, from an unmonitored email account - so +please do not reply to it. diff --git a/templates/email/tfl/problem-confirm.html b/templates/email/tfl/problem-confirm.html new file mode 100644 index 000000000..458e7bed9 --- /dev/null +++ b/templates/email/tfl/problem-confirm.html @@ -0,0 +1,28 @@ +[% + +email_summary = "You need to confirm your " _ site_name _ " report before it can be sent to Transport for London."; +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 %]">Please confirm your report</h1> + <p style="[% p_style %]">Please click on the link below to confirm that you want to send your report to Transport for London.</p> + [% UNLESS report.non_public %]<p style="[% p_style %]">Your report will also appear on the [% site_name %] website.</p>[% END %] + <p style="margin: 20px auto; text-align: center"> + <a style="[% button_style %]" href="[% token_url %]">Yes, send my report</a> + </p> + <p style="[% p_style %]">If you no longer wish to send this report, please take no further action.</p> + [% end_padded_box %] +</th> +[% WRAPPER '_email_sidebar.html' object = report, url = token_url %] + <h2 style="[% h2_style %]">[% report.title | html %]</h2> + <p style="[% secondary_p_style %]">[% report.detail | html %]</p> +[% END %] + +[% INCLUDE '_email_bottom.html' %] diff --git a/templates/email/tfl/problem-confirm.txt b/templates/email/tfl/problem-confirm.txt new file mode 100644 index 000000000..212fa3f11 --- /dev/null +++ b/templates/email/tfl/problem-confirm.txt @@ -0,0 +1,31 @@ +Subject: Confirm your report on [% site_name %] + +Hello [% report.name %], + +Please click on the link below to confirm that you want to send your report to +Transport for London.[% UNLESS report.non_public %] Note that your report will also +appear on the [% site_name %] website.[% END %] + +[% token_url %] + +If your email program does not let you click on this link, copy and paste it +into your web browser and press return. + +Your problem had the title: + +[% report.title %] + +And details: + +[% report.detail %] + +If you no longer wish to send this report, please take no further action. + +Thank you for submitting a report through [% site_name %]. + + + +[% signature %] + +This email was sent automatically, from an unmonitored email account - so +please do not reply to it. |