diff --git a/perllib/FixMyStreet/Cobrand/Bromley.pm b/perllib/FixMyStreet/Cobrand/Bromley.pm index f105bb290a..d31e0772eb 100644 --- a/perllib/FixMyStreet/Cobrand/Bromley.pm +++ b/perllib/FixMyStreet/Cobrand/Bromley.pm @@ -105,7 +105,9 @@ sub geocode_postcode { # Bromley pins always yellow sub pin_colour { my ( $self, $p, $context ) = @_; - return 'grey' if ($context||'') ne 'reports' && !$self->owns_problem($p); + return 'green-bromley' if $p->is_fixed; + return 'grey' if $p->is_closed; + return 'red' if ($context||'') ne 'reports' && !$self->owns_problem($p); return 'yellow'; } diff --git a/t/cobrand/bromley.t b/t/cobrand/bromley.t index 7a0f2d3313..41cf1c8da3 100644 --- a/t/cobrand/bromley.t +++ b/t/cobrand/bromley.t @@ -361,7 +361,7 @@ subtest 'check display of TfL reports' => sub { }, sub { $mech->follow_link_ok({ text_regex => qr/Back to all reports/i }); }; - $mech->content_like(qr{]*www.example.org[^>]*>]*red}); $mech->content_like(qr{]*>]*yellow}); }; diff --git a/t/cobrand/bromley_waste.t b/t/cobrand/bromley_waste.t index bd4cffd18e..e5847bb655 100644 --- a/t/cobrand/bromley_waste.t +++ b/t/cobrand/bromley_waste.t @@ -190,7 +190,7 @@ $report->update({ category => 'Other' }); }, sub { $mech->follow_link_ok({ text_regex => qr/Back to all reports/i }); }; - $mech->content_like(qr{]*>]*yellow}); + $mech->content_like(qr{]*>]*grey}); $mech->content_lacks('Report missed collection'); }; diff --git a/web/i/pins/green-bromley/big.png b/web/i/pins/green-bromley/big.png new file mode 100644 index 0000000000..1bc8c34b2a Binary files /dev/null and b/web/i/pins/green-bromley/big.png differ diff --git a/web/i/pins/green-bromley/mini.png b/web/i/pins/green-bromley/mini.png new file mode 100644 index 0000000000..de952f7ad3 Binary files /dev/null and b/web/i/pins/green-bromley/mini.png differ diff --git a/web/i/pins/green-bromley/pin.png b/web/i/pins/green-bromley/pin.png new file mode 100644 index 0000000000..32ac85d90a Binary files /dev/null and b/web/i/pins/green-bromley/pin.png differ diff --git a/web/i/pins/green-bromley/small.png b/web/i/pins/green-bromley/small.png new file mode 100644 index 0000000000..55eb740d2d Binary files /dev/null and b/web/i/pins/green-bromley/small.png differ