panel : remove useless menu items
This commit is contained in:
parent
81c787c52d
commit
aeb5bf63c9
1 changed files with 9 additions and 18 deletions
|
|
@ -66,24 +66,15 @@ return [
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
'-',
|
'-',
|
||||||
'notifications' => [
|
// 'reunions' => [
|
||||||
'label' => 'Notifications',
|
// 'label' => 'Réunions',
|
||||||
'icon' => 'megaphone',
|
// 'icon' => 'calendar',
|
||||||
'link' => 'pages/notifications',
|
// 'link' => 'pages/reunions',
|
||||||
'current' => function (string $current): bool {
|
// 'current' => function (string $current): bool {
|
||||||
$path = Kirby\Cms\App::instance()->path();
|
// $path = Kirby\Cms\App::instance()->path();
|
||||||
return Str::contains($path, 'pages/notifications');
|
// return Str::contains($path, 'pages/reunions');
|
||||||
}
|
// }
|
||||||
],
|
// ],
|
||||||
'reunions' => [
|
|
||||||
'label' => 'Réunions',
|
|
||||||
'icon' => 'calendar',
|
|
||||||
'link' => 'pages/reunions',
|
|
||||||
'current' => function (string $current): bool {
|
|
||||||
$path = Kirby\Cms\App::instance()->path();
|
|
||||||
return Str::contains($path, 'pages/reunions');
|
|
||||||
}
|
|
||||||
],
|
|
||||||
'-',
|
'-',
|
||||||
'users',
|
'users',
|
||||||
'system'
|
'system'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue