diff options
author | Matthew Somerville <matthew@mysociety.org> | 2012-05-22 16:50:45 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2012-05-22 16:50:45 +0100 |
commit | a27a999d381957e448d1d4e10f2a476f7ae2c268 (patch) | |
tree | 70a05814dadf1a02646cc6fa3b14acf8ef4d71d2 /perllib/FixMyStreet/Cobrand/Bromley.pm | |
parent | c09f2c05ea92a27479f42b35393bac636bf7454b (diff) |
Pins yellow on /my for Bromley.
Diffstat (limited to 'perllib/FixMyStreet/Cobrand/Bromley.pm')
-rw-r--r-- | perllib/FixMyStreet/Cobrand/Bromley.pm | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/Cobrand/Bromley.pm b/perllib/FixMyStreet/Cobrand/Bromley.pm index bc2903b70..500863cf6 100644 --- a/perllib/FixMyStreet/Cobrand/Bromley.pm +++ b/perllib/FixMyStreet/Cobrand/Bromley.pm @@ -42,6 +42,12 @@ sub on_map_default_max_pin_age { return '1 month'; } +# Bromley pins always yellow +sub pin_colour { + my ( $self, $p, $context ) = @_; + return 'yellow'; +} + sub recent_photos { my ( $self, $area, $num, $lat, $lon, $dist ) = @_; $num = 3 if $num > 3 && $area eq 'alert'; |