aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/Cobrand/Bromley.pm
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2012-05-22 16:50:45 +0100
committerMatthew Somerville <matthew@mysociety.org>2012-05-22 16:50:45 +0100
commita27a999d381957e448d1d4e10f2a476f7ae2c268 (patch)
tree70a05814dadf1a02646cc6fa3b14acf8ef4d71d2 /perllib/FixMyStreet/Cobrand/Bromley.pm
parentc09f2c05ea92a27479f42b35393bac636bf7454b (diff)
Pins yellow on /my for 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';