aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/Cobrand/Default.pm
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2016-10-24 12:22:52 +0100
committerMatthew Somerville <matthew-github@dracos.co.uk>2016-10-24 12:22:52 +0100
commite60f549e4d27bbcc876a2f038817e81b18f9fc35 (patch)
treeb1a7e527a03167c249d0682bb6af8d65231bae5c /perllib/FixMyStreet/Cobrand/Default.pm
parentddd8c2c00db2ab39601b66b60690a5e7c87c4c88 (diff)
parent44138e8bec4b7d16e32561a612b462955605b3c8 (diff)
Merge branch 'issues/forcouncils/67-mop-up'
Diffstat (limited to 'perllib/FixMyStreet/Cobrand/Default.pm')
-rw-r--r--perllib/FixMyStreet/Cobrand/Default.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/Cobrand/Default.pm b/perllib/FixMyStreet/Cobrand/Default.pm
index 3dd562dc4..b63999b2f 100644
--- a/perllib/FixMyStreet/Cobrand/Default.pm
+++ b/perllib/FixMyStreet/Cobrand/Default.pm
@@ -647,7 +647,8 @@ sub admin_pages {
};
# And some that need special permissions
if ( $user->is_superuser || $user->has_body_permission_to('category_edit') ) {
- $pages->{bodies} = [ _('Bodies'), 1 ];
+ my $page_title = $user->is_superuser ? _('Bodies') : _('Categories');
+ $pages->{bodies} = [ $page_title, 1 ];
$pages->{body} = [ undef, undef ];
}
if ( $user->is_superuser || $user->has_body_permission_to('report_edit') ) {