aboutsummaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@dracos.co.uk>2011-02-17 11:07:33 +0000
committerMatthew Somerville <matthew@dracos.co.uk>2011-02-17 11:07:33 +0000
commitddfd8cc92ecb2d3060cc73bb813775d7c20b8a2c (patch)
tree471b658841f34fc116d4d560f23a46f85bc8ad2e /web
parent3910b9b80463f9e133e5a61422ef1f22c677da18 (diff)
parent96daa0b0a01b4e3eb337574d558680bb8a3327c9 (diff)
Merge branch 'master' of ssh://git.mysociety.org/data/git/public/fixmystreet
Diffstat (limited to 'web')
-rwxr-xr-xweb/reports.cgi6
1 files changed, 5 insertions, 1 deletions
diff --git a/web/reports.cgi b/web/reports.cgi
index 9d0787450..1b8557a06 100755
--- a/web/reports.cgi
+++ b/web/reports.cgi
@@ -49,6 +49,10 @@ sub main {
$rss = '/rss' if $rss;
print $q->redirect($base_url . $rss . '/reports/' . $area_name);
return;
+ } elsif (mySociety::Config::get('COUNTRY') eq 'NO' && $q_council eq 'Oslo') {
+ $one_council = mySociety::MaPit::call('area', 3);
+ $area_type = $one_council->{type};
+ $area_name = $one_council->{name};
} elsif (mySociety::Config::get('COUNTRY') eq 'NO' && $q_council =~ /,/) {
my ($kommune, $fylke) = split /\s*,\s*/, $q_council;
my @area_types = Cobrand::area_types($cobrand);
@@ -327,7 +331,7 @@ sub list_problems {
$out .= ent($_->{title});
$out .= '</a>';
$out .= ' <small>(sent to both)</small>' if $_->{councils}>1;
- $out .= ' <small>(not sent to council)</small>' if $_->{councils}==0 && $q->{site} ne 'emptyhomes';
+ $out .= ' <small>' . _('(not sent to council)') . '</small>' if $_->{councils}==0 && $q->{site} ne 'emptyhomes';
$out .= '<br><small>' . ent($_->{detail}) . '</small>' if $all;
$out .= '</li>';
}