diff options
Diffstat (limited to 'perllib/FixMyStreet')
-rw-r--r-- | perllib/FixMyStreet/Cobrand/HighwaysEngland.pm | 16 | ||||
-rw-r--r-- | perllib/FixMyStreet/Map/HighwaysEngland.pm | 8 |
2 files changed, 24 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; diff --git a/perllib/FixMyStreet/Map/HighwaysEngland.pm b/perllib/FixMyStreet/Map/HighwaysEngland.pm new file mode 100644 index 000000000..de44240a4 --- /dev/null +++ b/perllib/FixMyStreet/Map/HighwaysEngland.pm @@ -0,0 +1,8 @@ +package FixMyStreet::Map::HighwaysEngland; +use base 'FixMyStreet::Map::FMS'; + +use strict; + +use constant MIN_ZOOM_LEVEL => 12; + +1; |