Skip to content

Commit 2b052a7

Browse files
committed
Invert links in main menu
1 parent e70114b commit 2b052a7

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

lib/GaletteLegalNotices/PluginGaletteLegalnotices.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -53,20 +53,20 @@ public static function getMenusContents(): array
5353
$menus = [];
5454
$items = [];
5555

56-
if ($login->isAdmin()) {
56+
if ($login->isAdmin() || $login->isStaff()) {
5757
$items[] = [
58-
'label' => _T("Settings"),
58+
'label' => _T("Pages content", "legalnotices"),
5959
'route' => [
60-
'name' => 'legalnotices_settings'
60+
'name' => 'legalnotices_pages'
6161
]
6262
];
6363
}
6464

65-
if ($login->isAdmin() || $login->isStaff()) {
65+
if ($login->isAdmin()) {
6666
$items[] = [
67-
'label' => _T("Pages content", "legalnotices"),
67+
'label' => _T("Settings"),
6868
'route' => [
69-
'name' => 'legalnotices_pages'
69+
'name' => 'legalnotices_settings'
7070
]
7171
];
7272
}

0 commit comments

Comments
 (0)