aboutsummaryrefslogtreecommitdiffstats
path: root/templates/web/base/tokens/confirm_problem.html
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2014-07-07 16:59:23 +0100
committerMatthew Somerville <matthew@mysociety.org>2014-07-08 17:59:17 +0100
commitba8d2c4ba6f6c0216d618e77d368b640a2b92d1e (patch)
tree8b9e1a960f91c006606b5e0767a84a400dfc2fb0 /templates/web/base/tokens/confirm_problem.html
parent8f2c5942e3aa5d3b85e76b7353ab7ada87f97fc6 (diff)
Rename 'default' web directory to 'base'.
This should reduce confusion with the Default cobrand and override order.
Diffstat (limited to 'templates/web/base/tokens/confirm_problem.html')
-rw-r--r--templates/web/base/tokens/confirm_problem.html31
1 files changed, 31 insertions, 0 deletions
diff --git a/templates/web/base/tokens/confirm_problem.html b/templates/web/base/tokens/confirm_problem.html
new file mode 100644
index 000000000..723d515e1
--- /dev/null
+++ b/templates/web/base/tokens/confirm_problem.html
@@ -0,0 +1,31 @@
+[% INCLUDE 'header.html', title = loc('Confirmation') %]
+
+<h1>[% loc('Confirmation') %]</h1>
+
+<p class="confirmed">
+[% IF c.cobrand.is_council %]
+Thank you. You have successfully confirmed your report
+and this will now be investigated by the council.
+You can <a href="[% c.cobrand.base_url_for_report( problem ) %][% problem.url %]">view the problem on this site</a>.
+</p>
+
+<p>Your reference for this problem is [% problem.id %], please quote it in any enquiries.
+[% ELSE %]
+[%
+ loc('You have successfully confirmed your problem');
+ IF problem.bodies_str;
+ loc(' and <strong>we will now send it to the council</strong>');
+ END; %].
+[%
+ tprintf(
+ loc( 'You can <a href="%s%s">view the problem on this site</a>.' ),
+ c.cobrand.base_url_for_report( problem ),
+ problem.url
+ );
+%]
+[% END %]
+</p>
+
+[% display_crosssell_advert( problem.user.email, problem.name ) %]
+
+[% INCLUDE 'footer.html' %]