aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2012-05-29 18:34:03 +0100
committerMatthew Somerville <matthew@mysociety.org>2012-05-29 18:34:03 +0100
commit559c841cb8759fae1142e2281cfb71c30dc00445 (patch)
tree300423c02a3adb5fa368de95c2dac9021b8f17a3
parent4c20ff6832d93d63a2369d58799cfbe47d6fa76f (diff)
Make sure same message is displayed on main site for councils.
-rw-r--r--templates/web/bromley/tokens/confirm_problem.html13
-rw-r--r--templates/web/default/tokens/confirm_problem.html11
2 files changed, 10 insertions, 14 deletions
diff --git a/templates/web/bromley/tokens/confirm_problem.html b/templates/web/bromley/tokens/confirm_problem.html
deleted file mode 100644
index d002cc262..000000000
--- a/templates/web/bromley/tokens/confirm_problem.html
+++ /dev/null
@@ -1,13 +0,0 @@
-[% INCLUDE 'header.html', title = loc('Confirmation') %]
-
-<h1>[% loc('Confirmation') %]</h1>
-
-<p class="confirmed">
-Thank you. You have successfully confirmed your report
-and this will now be investigated by the council.
-You can <a href="[% c.uri_for( '/report', problem.id ) %]">view the problem on this site</a>.
-</p>
-
-<p>Your reference for this problem is [% problem.id %], please quote it in any enquiries.</p>
-
-[% INCLUDE 'footer.html' %]
diff --git a/templates/web/default/tokens/confirm_problem.html b/templates/web/default/tokens/confirm_problem.html
index 756958380..1e3c6c535 100644
--- a/templates/web/default/tokens/confirm_problem.html
+++ b/templates/web/default/tokens/confirm_problem.html
@@ -1,8 +1,16 @@
-[% INCLUDE 'header.html', title => loc('Confirmation') %]
+[% 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.uri_for( '/report', problem.id ) %]">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');
@@ -15,6 +23,7 @@
c.uri_for( '/report', problem.id )
);
%]
+[% END %]
</p>
[% display_crosssell_advert( problem.user.email, problem.name ) %]