aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Arter <davea@mysociety.org>2018-08-20 11:20:01 +0100
committerDave Arter <davea@mysociety.org>2018-08-20 11:20:01 +0100
commit75c5aa4857540eb8cf2e7bdeee45fe9ca610f242 (patch)
treefcbf4099c0228cffdb6b9a335106f7dcab71b6a9
parentb4ac7b676de16eb6acee9ac21a42cd11f759c7b7 (diff)
[Lincolnshire] Update front page wording
Lincolnshire uses ‘division’ instead of ‘ward’ as well as Oxfordshire.
-rw-r--r--perllib/FixMyStreet/Cobrand/Lincolnshire.pm6
-rwxr-xr-xtemplates/web/base/reports/body.html2
-rw-r--r--templates/web/lincolnshire/around/intro.html2
3 files changed, 9 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/Cobrand/Lincolnshire.pm b/perllib/FixMyStreet/Cobrand/Lincolnshire.pm
index c2c66136b..431314333 100644
--- a/perllib/FixMyStreet/Cobrand/Lincolnshire.pm
+++ b/perllib/FixMyStreet/Cobrand/Lincolnshire.pm
@@ -21,6 +21,12 @@ sub report_sent_confirmation_email { 1 }
sub admin_user_domain { 'lincolnshire.gov.uk' }
+sub enter_postcode_text {
+ my ($self) = @_;
+ return 'Enter a Lincolnshire postcode, street name and area, or check an existing report number';
+}
+
+
sub base_url {
my $self = shift;
return $self->next::method() if FixMyStreet->config('STAGING_SITE');
diff --git a/templates/web/base/reports/body.html b/templates/web/base/reports/body.html
index a630c2175..8be72d632 100755
--- a/templates/web/base/reports/body.html
+++ b/templates/web/base/reports/body.html
@@ -8,7 +8,7 @@
%]
[% END %]
-[% IF c.cobrand.moniker == 'oxfordshire' %]
+[% IF c.cobrand.moniker.match('oxfordshire|lincolnshire') %]
[% ward_text = 'View reports by division' %]
[% ELSIF c.cobrand.is_council %]
[% ward_text = loc( 'View reports by ward' ) %]
diff --git a/templates/web/lincolnshire/around/intro.html b/templates/web/lincolnshire/around/intro.html
new file mode 100644
index 000000000..ed199f676
--- /dev/null
+++ b/templates/web/lincolnshire/around/intro.html
@@ -0,0 +1,2 @@
+<h1>Report, view, or discuss local problems</h1>
+<h2>(like potholes, broken paving slabs, or street lighting)</h2>