aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/Cobrand/Bromley.pm
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2012-05-23 10:53:20 +0100
committerStruan Donald <struan@exo.org.uk>2012-05-23 10:53:20 +0100
commit42679c55a9623b98a0409075fed494574a9a81df (patch)
tree0da2f92b90f0d6fba6ff2ff0711f28e87f2784d5 /perllib/FixMyStreet/Cobrand/Bromley.pm
parent6f00ea0f96c25d81adf7e9e68a0228d193eb45d0 (diff)
parenta27a999d381957e448d1d4e10f2a476f7ae2c268 (diff)
Merge remote-tracking branch 'origin/bromley' into bromley
Diffstat (limited to 'perllib/FixMyStreet/Cobrand/Bromley.pm')
-rw-r--r--perllib/FixMyStreet/Cobrand/Bromley.pm6
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';