diff options
Diffstat (limited to 'templates/email')
-rw-r--r-- | templates/email/default/problem-confirm.html | 2 | ||||
-rw-r--r-- | templates/email/default/problem-confirm.txt | 1 | ||||
-rw-r--r-- | templates/email/oxfordshire/_problem-confirm_extra.html | 14 | ||||
-rw-r--r-- | templates/email/oxfordshire/_problem-confirm_extra.txt | 12 |
4 files changed, 29 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 %] diff --git a/templates/email/oxfordshire/_problem-confirm_extra.html b/templates/email/oxfordshire/_problem-confirm_extra.html new file mode 100644 index 000000000..5e22be6b9 --- /dev/null +++ b/templates/email/oxfordshire/_problem-confirm_extra.html @@ -0,0 +1,14 @@ +[% IF c.cobrand.problem_response_days(report) == 'emergency' %] + <p> + Thank you for contacting Oxfordshire County Council [% report.category %], unfortunately we are currently only available to respond to emergency situations which may have an impact on the health and safety of members of the public, these will be dealt with within a 24 hour period.<br /> + Reported faults will continue to be registered on our management system and these will be tackled in coming months. + </p> +[% ELSIF c.cobrand.problem_response_days(report) > 0 %] + <p> + Problems in the + [% report.category %] + category are generally responded to within + [% c.cobrand.problem_response_days(report) %] + working days. + </p> +[% END %] diff --git a/templates/email/oxfordshire/_problem-confirm_extra.txt b/templates/email/oxfordshire/_problem-confirm_extra.txt new file mode 100644 index 000000000..eb9ccfd12 --- /dev/null +++ b/templates/email/oxfordshire/_problem-confirm_extra.txt @@ -0,0 +1,12 @@ +[% IF c.cobrand.problem_response_days(report) == 'emergency' %] +Thank you for contacting Oxfordshire County Council [% report.category %], +unfortunately we are currently only available to respond to emergency +situations which may have an impact on the health and safety of members +of the public, these will be dealt with within a 24 hour period. + +Reported faults will continue to be registered on our management +system and these will be tackled in coming months. +[% ELSIF c.cobrand.problem_response_days(report) > 0 %] +Problems in the [% report.category %] category are generally responded +to within [% c.cobrand.problem_response_days(report) %] working days. +[% END %] |