aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2017-09-08 13:38:12 +0100
committerMatthew Somerville <matthew-github@dracos.co.uk>2017-09-11 11:18:25 +0100
commitabe48bed22685e0a52db76ada71045dfd51a446f (patch)
treec9c2f0222e066fabb93ad5eea937452efdbf7628
parent288bb0e03f1f309d45a12d7fb05d90556a2d1dc9 (diff)
allow extra details in problem-confirm emails
-rw-r--r--templates/email/default/problem-confirm.html2
-rw-r--r--templates/email/default/problem-confirm.txt1
2 files changed, 3 insertions, 0 deletions
diff --git a/templates/email/default/problem-confirm.html b/templates/email/default/problem-confirm.html
index 904cf7777..f545d7385 100644
--- a/templates/email/default/problem-confirm.html
+++ b/templates/email/default/problem-confirm.html
@@ -17,6 +17,8 @@ INCLUDE '_email_top.html';
Please note that [% c.cobrand.council_name %] is not responsible for this type
of problem, so it will instead be sent to [% report.body %].
[% END %]
+
+[% TRY %][% INCLUDE '_problem-confirm_extra.html' %][% CATCH file %][% END %]
</p>
<p style="[% p_style %]">Your report will also appear on the [% site_name %] website.</p>
<p style="margin: 20px auto; text-align: center">
diff --git a/templates/email/default/problem-confirm.txt b/templates/email/default/problem-confirm.txt
index 9d0767671..e9e7378d1 100644
--- a/templates/email/default/problem-confirm.txt
+++ b/templates/email/default/problem-confirm.txt
@@ -14,6 +14,7 @@ into your web browser and press return.
Please note that [% c.cobrand.council_name %] is not responsible for this type
of problem, so it will instead be sent to [% report.body %].
[% END %]
+[% TRY %][% INCLUDE '_problem-confirm_extra.txt' %][% CATCH file %][% END %]
Your problem had the title:
[% report.title %]