diff options
-rw-r--r-- | perllib/FixMyStreet/Cobrand/LichfieldDC.pm (renamed from perllib/FixMyStreet/Cobrand/Lichfield.pm) | 12 | ||||
-rw-r--r-- | templates/web/lichfielddc/footer.html (renamed from templates/web/lichfield/footer.html) | 0 | ||||
-rw-r--r-- | templates/web/lichfielddc/header.html (renamed from templates/web/lichfield/header.html) | 2 | ||||
-rw-r--r-- | web/cobrands/lichfielddc/css/layout.css (renamed from web/cobrands/lichfield/css/layout.css) | 0 |
4 files changed, 7 insertions, 7 deletions
diff --git a/perllib/FixMyStreet/Cobrand/Lichfield.pm b/perllib/FixMyStreet/Cobrand/LichfieldDC.pm index 9865bfa7b..3b995062e 100644 --- a/perllib/FixMyStreet/Cobrand/Lichfield.pm +++ b/perllib/FixMyStreet/Cobrand/LichfieldDC.pm @@ -1,4 +1,4 @@ -package FixMyStreet::Cobrand::Lichfield; +package FixMyStreet::Cobrand::LichfieldDC; use base 'FixMyStreet::Cobrand::Default'; use strict; @@ -23,16 +23,16 @@ sub problems { sub base_url { my $base_url = mySociety::Config::get('BASE_URL'); - if ( $base_url !~ /lichfield/ ) { - $base_url =~ s{http://(?!www\.)}{http://lichfield.}g; - $base_url =~ s{http://www\.}{http://lichfield.}g; + if ( $base_url !~ /lichfielddc/ ) { + $base_url =~ s{http://(?!www\.)}{http://lichfielddc.}g; + $base_url =~ s{http://www\.}{http://lichfielddc.}g; } return $base_url; } sub site_title { my ($self) = @_; - return 'Lichfield Council FixMyStreet'; + return 'Lichfield District Council FixMyStreet'; } sub enter_postcode_text { @@ -52,7 +52,7 @@ sub council_check { $url .= 'alert' if $context eq 'alert'; $url .= '?pc=' . URI::Escape::uri_escape( $self->{c}->req->param('pc') ) if $self->{c}->req->param('pc'); - my $error_msg = "That location is not covered by Lichfield. + my $error_msg = "That location is not covered by Lichfield District Council. Please visit <a href=\"$url\">the main FixMyStreet site</a>."; return ( 0, $error_msg ); } diff --git a/templates/web/lichfield/footer.html b/templates/web/lichfielddc/footer.html index 2a0fee889..2a0fee889 100644 --- a/templates/web/lichfield/footer.html +++ b/templates/web/lichfielddc/footer.html diff --git a/templates/web/lichfield/header.html b/templates/web/lichfielddc/header.html index 7b414159a..caeafd17a 100644 --- a/templates/web/lichfield/header.html +++ b/templates/web/lichfielddc/header.html @@ -4,7 +4,7 @@ <style type="text/css"> @import url(/css/core.css); - @import url(/cobrands/lichfield/css/layout.css); + @import url(/cobrands/lichfielddc/css/layout.css); </style> <link rel="stylesheet" type="text/css" href="http://www.lichfielddc.gov.uk/site/styles/standard.css" media="screen" /> diff --git a/web/cobrands/lichfield/css/layout.css b/web/cobrands/lichfielddc/css/layout.css index 9485985eb..9485985eb 100644 --- a/web/cobrands/lichfield/css/layout.css +++ b/web/cobrands/lichfielddc/css/layout.css |