aboutsummaryrefslogtreecommitdiffstats
path: root/perllib
diff options
context:
space:
mode:
Diffstat (limited to 'perllib')
-rw-r--r--perllib/FixMyStreet/Cobrand/Buckinghamshire.pm2
-rw-r--r--perllib/FixMyStreet/Cobrand/Hounslow.pm6
2 files changed, 7 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/Cobrand/Buckinghamshire.pm b/perllib/FixMyStreet/Cobrand/Buckinghamshire.pm
index f1dd85176..e210e7d09 100644
--- a/perllib/FixMyStreet/Cobrand/Buckinghamshire.pm
+++ b/perllib/FixMyStreet/Cobrand/Buckinghamshire.pm
@@ -156,7 +156,7 @@ sub flytipping_body_fix {
# If the report is only being sent to the district, we do
# not care about the road question, if it is missing
if (!$report->to_body_named('Buckinghamshire')) {
- delete $errors->{'road-placement'};
+ delete $errors->{'xroad-placement'};
}
}
}
diff --git a/perllib/FixMyStreet/Cobrand/Hounslow.pm b/perllib/FixMyStreet/Cobrand/Hounslow.pm
index 93512f2b9..2987c0ae3 100644
--- a/perllib/FixMyStreet/Cobrand/Hounslow.pm
+++ b/perllib/FixMyStreet/Cobrand/Hounslow.pm
@@ -45,6 +45,12 @@ sub get_geocoder {
sub on_map_default_status { 'open' }
+sub pin_colour {
+ my ( $self, $p, $context ) = @_;
+ return 'green' if $p->is_fixed || $p->is_closed;
+ return 'yellow';
+}
+
sub send_questionnaires { 0 }
sub categories_restriction {