diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2019-05-30 09:56:02 +0100 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2019-05-30 09:56:26 +0100 |
commit | eda68d7a4f2d38f4e6bf05ea305066f9f0d3d8cf (patch) | |
tree | 5de8f0eaa603d673e485d94f7d627997757300d7 | |
parent | ff0715db2d67bbf043a851ce7d9bed7e857c2db2 (diff) |
[Buckinghamshire] Use grey pin for district issues.
-rw-r--r-- | perllib/FixMyStreet/Cobrand/Buckinghamshire.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/Cobrand/Buckinghamshire.pm b/perllib/FixMyStreet/Cobrand/Buckinghamshire.pm index 8e463c688..6a6da22b6 100644 --- a/perllib/FixMyStreet/Cobrand/Buckinghamshire.pm +++ b/perllib/FixMyStreet/Cobrand/Buckinghamshire.pm @@ -45,7 +45,7 @@ sub on_map_default_status { 'open' } sub pin_colour { my ( $self, $p, $context ) = @_; - return 'grey' if $p->state eq 'not responsible'; + return 'grey' if $p->state eq 'not responsible' || !$self->owns_problem( $p ); return 'green' if $p->is_fixed || $p->is_closed; return 'red' if $p->state eq 'confirmed'; return 'yellow'; |