diff options
Diffstat (limited to 'perllib/FixMyStreet')
-rw-r--r-- | perllib/FixMyStreet/Cobrand/Default.pm | 8 | ||||
-rw-r--r-- | perllib/FixMyStreet/Cobrand/EmptyHomes.pm | 5 |
2 files changed, 4 insertions, 9 deletions
diff --git a/perllib/FixMyStreet/Cobrand/Default.pm b/perllib/FixMyStreet/Cobrand/Default.pm index a8b83c512..1d596fb43 100644 --- a/perllib/FixMyStreet/Cobrand/Default.pm +++ b/perllib/FixMyStreet/Cobrand/Default.pm @@ -100,7 +100,7 @@ Base URL for the admin interface. =cut -sub admin_base_url { '' } +sub admin_base_url { FixMyStreet->config('ADMIN_BASE_URL') || '' } =head2 base_url @@ -136,12 +136,12 @@ sub base_host { =head2 enter_postcode_text -Return the text that prompts the user to enter their postcode/place name. -Parameter is QUERY +Return override text that prompts the user to enter their postcode/place name. +Can be specified in template. =cut -sub enter_postcode_text { _('Enter a nearby street name and area') } +sub enter_postcode_text { } =head2 set_lang_and_domain diff --git a/perllib/FixMyStreet/Cobrand/EmptyHomes.pm b/perllib/FixMyStreet/Cobrand/EmptyHomes.pm index ed0c4ba73..c3d13448d 100644 --- a/perllib/FixMyStreet/Cobrand/EmptyHomes.pm +++ b/perllib/FixMyStreet/Cobrand/EmptyHomes.pm @@ -22,15 +22,10 @@ sub base_url { return $base_url; } -sub admin_base_url { - return 'https://secure.mysociety.org/admin/emptyhomes/'; -} - sub area_types { [ 'DIS', 'LBO', 'MTD', 'UTA', 'LGD', 'COI' ]; # No CTY } - sub base_url_with_lang { my $self = shift; |