aboutsummaryrefslogtreecommitdiffstats
path: root/templates/web/default/tokens/confirm_problem.html
diff options
context:
space:
mode:
authorEdmund von der Burg <evdb@mysociety.org>2011-03-28 14:21:56 +0100
committerEdmund von der Burg <evdb@mysociety.org>2011-03-28 14:21:56 +0100
commit9942c5c59ab28d0441ea5ba49a7bd426f17e45c3 (patch)
tree95449ac8b6e0f7069bdb7aa73c71ad1b1fbdf85d /templates/web/default/tokens/confirm_problem.html
parent632dd7b8e84faa4bcb19401678565751677729cc (diff)
Handle problem confirmation tokens in catalyst and get all tests working
Diffstat (limited to 'templates/web/default/tokens/confirm_problem.html')
-rw-r--r--templates/web/default/tokens/confirm_problem.html22
1 files changed, 22 insertions, 0 deletions
diff --git a/templates/web/default/tokens/confirm_problem.html b/templates/web/default/tokens/confirm_problem.html
new file mode 100644
index 000000000..23d5f52ee
--- /dev/null
+++ b/templates/web/default/tokens/confirm_problem.html
@@ -0,0 +1,22 @@
+[% INCLUDE 'header.html', title => loc('Confirmation') %]
+
+<h1>[% loc('Confirmation') %]</h1>
+
+<p class="confirmed">
+[%
+ loc('You have successfully confirmed your problem');
+
+ IF problem.council;
+ loc(' and <strong>we will now send it to the council</strong>');
+ END;
+
+ tprintf(
+ loc( '. You can <a href="%s">view the problem on this site</a>.' ),
+ c.cobrand.url( '/report/' _ problem.id )
+ );
+%]
+</p>
+
+[% display_crossell_advert( problem.email, problem.name ) %]
+
+[% INCLUDE 'footer.html' %]