diff options
author | Dave Arter <davea@mysociety.org> | 2016-06-22 13:35:21 +0100 |
---|---|---|
committer | Zarino Zappia <mail@zarino.co.uk> | 2017-06-08 12:07:53 +0100 |
commit | e2125b7db84902c62ddce822c0397a174ad56a8c (patch) | |
tree | e1aaaf0e4fb32c129f4efc8636eae3a2687d3f06 /perllib | |
parent | ffe3a98493360717ef830af252954f738166fa1a (diff) |
Basic white label cobrand.
This removes most of the FMS/mySociety branding, but uses the same logic
as the fixmystreet.com cobrand wrt problem restrictions, handling, etc.
Suitable for UK council demos.
Diffstat (limited to 'perllib')
-rw-r--r-- | perllib/FixMyStreet/Cobrand/Whitelabel.pm | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/Cobrand/Whitelabel.pm b/perllib/FixMyStreet/Cobrand/Whitelabel.pm new file mode 100644 index 000000000..42a23e40f --- /dev/null +++ b/perllib/FixMyStreet/Cobrand/Whitelabel.pm @@ -0,0 +1,13 @@ +package FixMyStreet::Cobrand::Whitelabel; +use base 'FixMyStreet::Cobrand::UKCouncils'; + +sub path_to_web_templates { + my $self = shift; + return [ + FixMyStreet->path_to( 'templates/web', $self->moniker ), + FixMyStreet->path_to( 'templates/web/whitelabel' ), + FixMyStreet->path_to( 'templates/web/fixmystreet-uk-councils' ), + ]; +} + +1; |