aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/Cobrand/UK.pm
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2012-07-13 21:57:10 +0100
committerMatthew Somerville <matthew@mysociety.org>2012-07-13 21:57:10 +0100
commit0a512ce7d620a403a081b0bed500272e4ed55cf7 (patch)
tree8c924fe23f683cfb1f7de3e50642fed090a53b68 /perllib/FixMyStreet/Cobrand/UK.pm
parent52a27eb4589102f373dd4835a231301ad6060908 (diff)
Move default cobrand to new design.
Due to old cobrands, this involves the subclasses implementing the web templates dir to ignore what the default is doing. A vaguely garish yet pleasing colour scheme has been chosen so that the site is both usable and suggests you may want to change it.
Diffstat (limited to 'perllib/FixMyStreet/Cobrand/UK.pm')
-rw-r--r--perllib/FixMyStreet/Cobrand/UK.pm5
1 files changed, 5 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/Cobrand/UK.pm b/perllib/FixMyStreet/Cobrand/UK.pm
index 1c4c22fa6..174f2579c 100644
--- a/perllib/FixMyStreet/Cobrand/UK.pm
+++ b/perllib/FixMyStreet/Cobrand/UK.pm
@@ -3,6 +3,11 @@ use base 'FixMyStreet::Cobrand::Default';
use mySociety::VotingArea;
+sub path_to_web_templates {
+ my $self = shift;
+ return [ FixMyStreet->path_to( 'templates/web', $self->moniker )->stringify ];
+}
+
sub country { return 'GB'; }
sub area_types { return qw(DIS LBO MTD UTA CTY COI); }
sub area_types_children { return @$mySociety::VotingArea::council_child_types }