aboutsummaryrefslogtreecommitdiffstats
path: root/perllib
diff options
context:
space:
mode:
authorZarino Zappia <mail@zarino.co.uk>2017-05-31 16:19:51 +0100
committerMatthew Somerville <matthew-github@dracos.co.uk>2017-06-15 17:29:21 +0100
commitf4a7250eccdc70e3413c18f80b01aec7042a17da (patch)
treef44a67f78726464bf6a1d72fef0338ba83b12831 /perllib
parentce350cc13134bdbbbf50af2689fbc63a04b3773b (diff)
[Borsetshire] New cobrand for fictional council
Diffstat (limited to 'perllib')
-rw-r--r--perllib/FixMyStreet/Cobrand/Borsetshire.pm28
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;