aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2014-03-19 12:29:34 +0000
committerStruan Donald <struan@exo.org.uk>2014-04-08 13:21:11 +0100
commit90bf8d40800452046b4b89e80e2af64ee65872bc (patch)
tree216547623ac5f7716c39b21cb1156c684e56c9c7
parentf0c1e25cd4774996d6e523bdad73ae3d8f6cabae (diff)
turn on never_confirm_updates for ZeroTB
and display a message on the report page to indicate the update has been sent as it's never displayed
-rw-r--r--perllib/FixMyStreet/Cobrand/ZeroTB.pm1
-rw-r--r--templates/web/zerotb/report/display.html6
2 files changed, 7 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/Cobrand/ZeroTB.pm b/perllib/FixMyStreet/Cobrand/ZeroTB.pm
index 589a9e922..a63a451cc 100644
--- a/perllib/FixMyStreet/Cobrand/ZeroTB.pm
+++ b/perllib/FixMyStreet/Cobrand/ZeroTB.pm
@@ -28,6 +28,7 @@ sub allow_photo_display { return 0; }
sub allow_photo_upload{ return 0; }
sub send_questionnaires { return 0; }
sub on_map_default_max_pin_age { return 0; }
+sub never_confirm_updates { 1; }
1;
diff --git a/templates/web/zerotb/report/display.html b/templates/web/zerotb/report/display.html
index 5febcaaab..9161fb586 100644
--- a/templates/web/zerotb/report/display.html
+++ b/templates/web/zerotb/report/display.html
@@ -15,6 +15,12 @@
[% INCLUDE 'report/banner.html' %]
+[% IF c.flash.comment_created %]
+<p>
+[% loc('Your report has been sent') %]
+</p>
+[% END %]
+
[% INCLUDE 'report/_main.html' %]
<div class="shadow-wrap">