diff options
author | Matthew Somerville <matthew@mysociety.org> | 2012-05-28 16:07:57 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2012-05-28 16:07:57 +0100 |
commit | 959012b397c40638eaa62cd911f416f605043330 (patch) | |
tree | 6fcfd0325d02f89c12a83ceaea39966dfa3b454d /perllib/FixMyStreet/App/Controller/Around.pm | |
parent | c86fb4cfa6fdf62c5d0ba968b6fda7eb46c3d027 (diff) | |
parent | 2e94d363be99e83a24ed7b14c6dd00480b9afc93 (diff) |
Merge branch 'bromley'
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/Around.pm')
-rw-r--r-- | perllib/FixMyStreet/App/Controller/Around.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Around.pm b/perllib/FixMyStreet/App/Controller/Around.pm index e110cf8d7..3047b195c 100644 --- a/perllib/FixMyStreet/App/Controller/Around.pm +++ b/perllib/FixMyStreet/App/Controller/Around.pm @@ -186,10 +186,11 @@ sub display_location : Private { @pins = map { # Here we might have a DB::Problem or a DB::Nearby, we always want the problem. my $p = (ref $_ eq 'FixMyStreet::App::Model::DB::Nearby') ? $_->problem : $_; + my $colour = $c->cobrand->pin_colour( $p, 'around' ); { latitude => $p->latitude, longitude => $p->longitude, - colour => 'yellow', # $p->is_fixed ? 'green' : 'red', + colour => $colour, id => $p->id, title => $p->title, } |