diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2017-09-06 15:05:40 +0100 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2017-09-06 15:05:40 +0100 |
commit | f4906ed9821a1ae623c8be46d815e1b355e11973 (patch) | |
tree | c558dd69fef5acd78f0c873b7fe92d47a7332257 /perllib | |
parent | fd42c29f4aaa5110f39993511bc6cdeb3ca6dba7 (diff) |
[Borsetshire] Use Oxfordshire pin images.
Diffstat (limited to 'perllib')
-rw-r--r-- | perllib/FixMyStreet/Cobrand/Borsetshire.pm | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/perllib/FixMyStreet/Cobrand/Borsetshire.pm b/perllib/FixMyStreet/Cobrand/Borsetshire.pm index 89869ff1b..7ddcff469 100644 --- a/perllib/FixMyStreet/Cobrand/Borsetshire.pm +++ b/perllib/FixMyStreet/Cobrand/Borsetshire.pm @@ -15,10 +15,14 @@ sub example_places { sub pin_colour { my ( $self, $p, $context ) = @_; - #return 'grey' if $p->state eq 'not responsible'; - #return 'green' if $p->is_fixed || $p->is_closed; - #return 'red' if $p->state eq 'confirmed'; - return 'yellow'; + return 'grey' if $p->is_closed; + return 'green' if $p->is_fixed; + return 'yellow' if $p->state eq 'confirmed'; + return 'orange'; # all the other `open_states` like "in progress" +} + +sub path_to_pin_icons { + return '/cobrands/oxfordshire/images/'; } sub send_questionnaires { |