diff options
author | Zarino Zappia <mail@zarino.co.uk> | 2020-03-04 17:00:12 +0000 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2020-03-31 09:58:58 +0100 |
commit | a8176ffb8ec2ff5e92c1ee4e25cfa5dd208548af (patch) | |
tree | 1e6b5ef6432b9a8cae4887968cc8e129450a1490 /perllib/FixMyStreet/Cobrand/HighwaysEngland.pm | |
parent | 031d37f14b542edad4612fea6d35f75a6904d7c0 (diff) |
[Highways England] Cobrand styles and templates
Diffstat (limited to 'perllib/FixMyStreet/Cobrand/HighwaysEngland.pm')
-rw-r--r-- | perllib/FixMyStreet/Cobrand/HighwaysEngland.pm | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/Cobrand/HighwaysEngland.pm b/perllib/FixMyStreet/Cobrand/HighwaysEngland.pm new file mode 100644 index 000000000..5e91d517c --- /dev/null +++ b/perllib/FixMyStreet/Cobrand/HighwaysEngland.pm @@ -0,0 +1,16 @@ +package FixMyStreet::Cobrand::HighwaysEngland; +use parent 'FixMyStreet::Cobrand::UK'; + +use strict; +use warnings; + +sub enter_postcode_text { 'Enter a location, road name or postcode' } + +sub example_places { + my $self = shift; + return $self->feature('example_places') || $self->next::method(); +} + +sub allow_photo_upload { 0 } + +1; |