We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e70114b commit 2b052a7Copy full SHA for 2b052a7
lib/GaletteLegalNotices/PluginGaletteLegalnotices.php
@@ -53,20 +53,20 @@ public static function getMenusContents(): array
53
$menus = [];
54
$items = [];
55
56
- if ($login->isAdmin()) {
+ if ($login->isAdmin() || $login->isStaff()) {
57
$items[] = [
58
- 'label' => _T("Settings"),
+ 'label' => _T("Pages content", "legalnotices"),
59
'route' => [
60
- 'name' => 'legalnotices_settings'
+ 'name' => 'legalnotices_pages'
61
]
62
];
63
}
64
65
- if ($login->isAdmin() || $login->isStaff()) {
+ if ($login->isAdmin()) {
66
67
- 'label' => _T("Pages content", "legalnotices"),
+ 'label' => _T("Settings"),
68
69
- 'name' => 'legalnotices_pages'
+ 'name' => 'legalnotices_settings'
70
71
72
0 commit comments