aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/web/base/tokens/confirm_problem.html4
-rw-r--r--templates/web/buckinghamshire/tokens/_confirm_problem_council_id.html2
-rw-r--r--templates/web/buckinghamshire/tokens/confirm_problem.html44
3 files changed, 6 insertions, 44 deletions
diff --git a/templates/web/base/tokens/confirm_problem.html b/templates/web/base/tokens/confirm_problem.html
index 57ba42a54..f74517c8a 100644
--- a/templates/web/base/tokens/confirm_problem.html
+++ b/templates/web/base/tokens/confirm_problem.html
@@ -6,8 +6,12 @@
[% IF c.cobrand.is_council %]
[% IF c.cobrand.owns_problem( report ) %]
+ [% TRY %]
+ [% INCLUDE 'tokens/_confirm_problem_council_id.html' %]
+ [% CATCH file %]
<h2>Your issue is on its way to the council.</h2>
<p>Your reference for this report is [% report.id %], please quote it in any enquiries.</p>
+ [% END %]
[% ELSE %]
<h2>Thank you for your report.</h2>
<p>
diff --git a/templates/web/buckinghamshire/tokens/_confirm_problem_council_id.html b/templates/web/buckinghamshire/tokens/_confirm_problem_council_id.html
new file mode 100644
index 000000000..458e37299
--- /dev/null
+++ b/templates/web/buckinghamshire/tokens/_confirm_problem_council_id.html
@@ -0,0 +1,2 @@
+<h2>Your issue is on its way to the council.</h2>
+<p>You will receive an email with a reference number for this report soon, please quote it in any enquiries.</p>
diff --git a/templates/web/buckinghamshire/tokens/confirm_problem.html b/templates/web/buckinghamshire/tokens/confirm_problem.html
deleted file mode 100644
index 9b3063b5e..000000000
--- a/templates/web/buckinghamshire/tokens/confirm_problem.html
+++ /dev/null
@@ -1,44 +0,0 @@
-[% INCLUDE 'header.html', bodyclass = 'fullwidthpage', title = loc('Confirmation') %]
-
-<div class="confirmation-header">
-
- <h1><a href="[% c.cobrand.base_url_for_report( report ) %][% report.url %]">[% report.title %]</a></h1>
-
- [% IF c.cobrand.is_council %]
- [% IF c.cobrand.owns_problem( report ) %]
- <h2>Your issue is on its way to the council.</h2>
- <p>You will receive an email with a reference number for this report soon, please quote it in any enquiries.</p>
- [% ELSE %]
- <h2>Thank you for your report.</h2>
- <p>
- We don&rsquo;t handle this type of problem, so have passed it on to:
- </p>
- <p>
- <b>[% report.body %]</b>
- </p>
- <p>
- You can follow this problem on <a href="[% c.cobrand.base_url_for_report( report ) %][% report.url %]">FixMyStreet.com</a>.
- </p>
- [% END %]
-
- [% ELSE %]
- <h2>[% loc('Thank you for reporting this issue!') %]</h2>
- [% IF report.bodies_str %]
- <p>[% loc('It’s on its way to the council right now.') %]</p>
- [% END %]
-
- [% END %]
-
-[% TRY %][% INCLUDE 'tokens/_extras_confirm.html' %][% CATCH file %][% END %]
-
-</div>
-
-[% INCLUDE
- next_steps.html,
- just_interacted = 1,
- utm_content = 'problem confirmed',
- share_url = c.cobrand.base_url_for_report(report) _ report.url,
- twitter_comment = loc('I just reported a problem on @fixmystreet')
-%]
-
-[% INCLUDE 'footer.html' %]