diff options
-rw-r--r-- | templates/web/oxfordshire/_email_sent_extra.html | 10 | ||||
-rw-r--r-- | templates/web/oxfordshire/_response_time.html | 14 | ||||
-rw-r--r-- | templates/web/oxfordshire/report/_council_sent_info.html | 15 |
3 files changed, 16 insertions, 23 deletions
diff --git a/templates/web/oxfordshire/_email_sent_extra.html b/templates/web/oxfordshire/_email_sent_extra.html index b49d1733c..5fdcd3bfd 100644 --- a/templates/web/oxfordshire/_email_sent_extra.html +++ b/templates/web/oxfordshire/_email_sent_extra.html @@ -1,9 +1 @@ -[% IF report AND 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 %] +[% INCLUDE '_response_time.html' problem=report %] diff --git a/templates/web/oxfordshire/_response_time.html b/templates/web/oxfordshire/_response_time.html new file mode 100644 index 000000000..c3cb5fdfa --- /dev/null +++ b/templates/web/oxfordshire/_response_time.html @@ -0,0 +1,14 @@ +[% IF c.cobrand.problem_response_days(problem) == 'emergency' %] + <p> + Thank you for contacting Oxfordshire County Council [% problem.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(problem) > 0 %] + <p> + Problems in the + [% problem.category %] + category are generally responded to within + [% c.cobrand.problem_response_days(problem) %] + working days. + </p> +[% END %] diff --git a/templates/web/oxfordshire/report/_council_sent_info.html b/templates/web/oxfordshire/report/_council_sent_info.html index 52b20a0af..5bc7949ff 100644 --- a/templates/web/oxfordshire/report/_council_sent_info.html +++ b/templates/web/oxfordshire/report/_council_sent_info.html @@ -10,20 +10,7 @@ </h3> [% END %] - [% IF c.cobrand.problem_response_days(problem) == 'emergency' %] - <p> - Thank you for contacting Oxfordshire County Council [% problem.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(problem) > 0 %] - <p> - Problems in the - [% problem.category %] - category are generally responded to within - [% c.cobrand.problem_response_days(problem) %] - working days. - </p> - [% END %] + [% INCLUDE '_response_time.html' %] </div> [% END %] |