diff options
author | Zarino Zappia <mail@zarino.co.uk> | 2017-05-31 16:19:51 +0100 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2017-06-15 17:29:21 +0100 |
commit | f4a7250eccdc70e3413c18f80b01aec7042a17da (patch) | |
tree | f44a67f78726464bf6a1d72fef0338ba83b12831 /perllib | |
parent | ce350cc13134bdbbbf50af2689fbc63a04b3773b (diff) |
[Borsetshire] New cobrand for fictional council
Diffstat (limited to 'perllib')
-rw-r--r-- | perllib/FixMyStreet/Cobrand/Borsetshire.pm | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/Cobrand/Borsetshire.pm b/perllib/FixMyStreet/Cobrand/Borsetshire.pm new file mode 100644 index 000000000..887de57ed --- /dev/null +++ b/perllib/FixMyStreet/Cobrand/Borsetshire.pm @@ -0,0 +1,28 @@ +package FixMyStreet::Cobrand::Borsetshire; +use parent 'FixMyStreet::Cobrand::Whitelabel'; + +use strict; +use warnings; + +sub council_id { return 2608; } +sub council_area { return 'Borsetshire'; } +sub council_name { return 'Borsetshire County Council'; } +sub council_url { return 'demo'; } + +sub example_places { + return ( 'BS36 2NS', 'Coalpit Heath' ); +} + +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'; +} + +sub send_questionnaires { + return 0; +} + +1; |