aboutsummaryrefslogtreecommitdiffstats
path: root/perllib
diff options
context:
space:
mode:
authorDave Arter <davea@mysociety.org>2016-03-30 09:35:05 +0100
committerDave Arter <davea@mysociety.org>2016-03-30 10:16:20 +0100
commit0b7146724c9c9e717ed4e06bcf7758d00e4b989d (patch)
treefc8325a7f14d0a0ab13f4da314a6b2e3229f37ff /perllib
parenta33044d7e0eab9278a1b03e5ef5694749f3f955b (diff)
[Oxfordshire] Add emergencies-only templated response message for street lighting reports
Fixes mysociety/FixMyStreet-Commercial#767
Diffstat (limited to 'perllib')
-rw-r--r--perllib/FixMyStreet/Cobrand/Oxfordshire.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/Cobrand/Oxfordshire.pm b/perllib/FixMyStreet/Cobrand/Oxfordshire.pm
index c78ae5e09..543dd431a 100644
--- a/perllib/FixMyStreet/Cobrand/Oxfordshire.pm
+++ b/perllib/FixMyStreet/Cobrand/Oxfordshire.pm
@@ -52,6 +52,8 @@ sub default_show_name { 0 }
Returns the number of working days that are expected to elapse
between the problem being reported and it being responded to by
the council/body.
+If the value 'emergency' is returned, a different template block
+is triggered that has custom wording.
=cut
@@ -79,7 +81,7 @@ sub problem_response_days {
return 10 if $p->category eq 'Road traffic signs';
return 10 if $p->category eq 'Roads/highways';
return 10 if $p->category eq 'Skips and scaffolding';
- return 10 if $p->category eq 'Street lighting';
+ return 'emergency' if $p->category eq 'Street lighting';
return 10 if $p->category eq 'Traffic lights'; # phone if urgent
return 10 if $p->category eq 'Traffic';
return 10 if $p->category eq 'Trees';