aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
l---------templates/email/buckinghamshire/_council_reference_alert_update.html1
l---------templates/email/buckinghamshire/_council_reference_alert_update.txt1
-rw-r--r--templates/email/buckinghamshire/alert-update.html4
-rw-r--r--templates/email/buckinghamshire/alert-update.txt2
-rw-r--r--templates/email/default/alert-update.html3
-rw-r--r--templates/email/default/alert-update.txt2
6 files changed, 9 insertions, 4 deletions
diff --git a/templates/email/buckinghamshire/_council_reference_alert_update.html b/templates/email/buckinghamshire/_council_reference_alert_update.html
new file mode 120000
index 000000000..b381640fa
--- /dev/null
+++ b/templates/email/buckinghamshire/_council_reference_alert_update.html
@@ -0,0 +1 @@
+_council_reference.html \ No newline at end of file
diff --git a/templates/email/buckinghamshire/_council_reference_alert_update.txt b/templates/email/buckinghamshire/_council_reference_alert_update.txt
new file mode 120000
index 000000000..cb7672557
--- /dev/null
+++ b/templates/email/buckinghamshire/_council_reference_alert_update.txt
@@ -0,0 +1 @@
+_council_reference.txt \ No newline at end of file
diff --git a/templates/email/buckinghamshire/alert-update.html b/templates/email/buckinghamshire/alert-update.html
index 48e6871c2..8831fd379 100644
--- a/templates/email/buckinghamshire/alert-update.html
+++ b/templates/email/buckinghamshire/alert-update.html
@@ -19,9 +19,9 @@ INCLUDE '_email_top.html';
[% end_padded_box %]
</th>
[% WRAPPER '_email_sidebar.html' object = report %]
- <h2 style="[% h2_style %]">[% title | html %]</h2>
+ <h2 style="[% h2_style %]">[% title %]</h2>
<p style="[% secondary_p_style %]">[% report.detail | html %]</p>
- [%~ INCLUDE '_council_reference.html' problem=report p_style=secondary_p_style %]
+ [% 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/buckinghamshire/alert-update.txt b/templates/email/buckinghamshire/alert-update.txt
index a77f3a2a0..34b95683f 100644
--- a/templates/email/buckinghamshire/alert-update.txt
+++ b/templates/email/buckinghamshire/alert-update.txt
@@ -13,7 +13,7 @@ If you would like to view or reply to these updates, please visit the following
[% problem_url %]
-[% INCLUDE '_council_reference.txt' problem=report %]
+[% 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/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.