aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@fury.ukcod.org.uk>2011-04-06 11:39:47 +0100
committerMatthew Somerville <matthew@fury.ukcod.org.uk>2011-04-06 11:39:47 +0100
commit473bca111dc1b14f1535ec56de83243c50ba04d7 (patch)
tree0dd865b8c7591c03ba61add9695a37249217c742
parent5cb539af4a4b03fb8374709e7fcf2881a9d60d00 (diff)
Remove street lighting references to Southampton.
-rwxr-xr-xweb/index.cgi3
1 files changed, 3 insertions, 0 deletions
diff --git a/web/index.cgi b/web/index.cgi
index 186393f96..f03e6d098 100755
--- a/web/index.cgi
+++ b/web/index.cgi
@@ -133,6 +133,8 @@ sub front_page {
my $out = '<p id="expl"><strong>' . _('Report, view, or discuss local problems') . '</strong>';
my $subhead = _('(like graffiti, fly tipping, broken paving slabs, or street lighting)');
+ $subhead = '(like graffiti, fly tipping, or broken paving slabs)'
+ if $q->{site} eq 'southampton';
$out .= '<br><small>' . $subhead . '</small>' if $subhead ne ' ';
$out .= '</p>';
#if (my $url = mySociety::Config::get('IPHONE_URL')) {
@@ -560,6 +562,7 @@ please specify the closest point on land.')) unless %$all_councils;
foreach (@$categories) {
$council_ok{$_->{area_id}} = 1;
next if $_->{category} eq _('Other');
+ next if $q->{site} eq 'southampton' && $_->{category} eq 'Street lighting';
push @categories, $_->{category};
}
if ($q->{site} eq 'scambs') {