aboutsummaryrefslogtreecommitdiffstats
path: root/templates/email/default
diff options
context:
space:
mode:
Diffstat (limited to 'templates/email/default')
-rw-r--r--templates/email/default/alert-update.html3
-rw-r--r--templates/email/default/alert-update.txt2
-rw-r--r--templates/email/default/other-reported.html9
-rw-r--r--templates/email/default/other-reported.txt2
4 files changed, 11 insertions, 5 deletions
diff --git a/templates/email/default/alert-update.html b/templates/email/default/alert-update.html
index 7ebc9910c..082f5e369 100644
--- a/templates/email/default/alert-update.html
+++ b/templates/email/default/alert-update.html
@@ -18,8 +18,9 @@ INCLUDE '_email_top.html';
[% end_padded_box %]
</th>
[% WRAPPER '_email_sidebar.html' object = report %]
- <h2 style="[% h2_style %]">[% report.title | html %]</h2>
+ <h2 style="[% h2_style %]">[% title %]</h2>
<p style="[% secondary_p_style %]">[% report.detail | html %]</p>
+ [% TRY %][% INCLUDE '_council_reference_alert_update.html' problem=report p_style=secondary_p_style %][% CATCH file %][% END %]
[% END %]
[% INCLUDE '_email_bottom.html' %]
diff --git a/templates/email/default/alert-update.txt b/templates/email/default/alert-update.txt
index 2883fee5e..952b2dbca 100644
--- a/templates/email/default/alert-update.txt
+++ b/templates/email/default/alert-update.txt
@@ -13,6 +13,8 @@ If you would like to view or reply to these updates, please visit the following
[% problem_url %]
+[% TRY %][% INCLUDE '_council_reference_alert_update.txt' problem=report %][% CATCH file %][% END %]
+
This email was sent automatically, from an unmonitored email account - so
please do not reply to it.
diff --git a/templates/email/default/other-reported.html b/templates/email/default/other-reported.html
index 5435e735a..fe03376f5 100644
--- a/templates/email/default/other-reported.html
+++ b/templates/email/default/other-reported.html
@@ -11,12 +11,13 @@ 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&nbsp;logged</h1>
- <p style="[% p_style %]">Your report to [% report.body %] has been logged on [% site_name %].
+ <p style="[% p_style %]">Your report to [% report.body %] has been logged on [% site_name %].</p>
[% IF c.cobrand.is_council && !c.cobrand.owns_problem( report ) %]
-Please note that [% c.cobrand.council_name %] is not responsible for this type
-of report, so it will instead be sent to [% report.body %].
+<p style="[% p_style %]">Please note that [% c.cobrand.council_name %] is not responsible for this type
+of report, so it will instead be sent to [% report.body %].</p>
+[% ELSE %]
+[% TRY %][% INCLUDE '_council_reference.html' problem=report %][% CATCH file %][% END %]
[% END %]
- </p>
<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>
diff --git a/templates/email/default/other-reported.txt b/templates/email/default/other-reported.txt
index 559b0933b..1dc8d0b44 100644
--- a/templates/email/default/other-reported.txt
+++ b/templates/email/default/other-reported.txt
@@ -7,6 +7,8 @@ Your report to [% report.body %] has been logged on [% site_name %].
[% IF c.cobrand.is_council && !c.cobrand.owns_problem( report ) %]
Please note that [% c.cobrand.council_name %] is not responsible for this type
of report, so it will instead be sent to [% report.body %].
+[% ELSE %]
+[% TRY %][% INCLUDE '_council_reference.txt' problem=report %][% CATCH file %][% END %]
[% END %]
It is available to view at: