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' => [
|
||||
'label' => 'Notifications',
|
||||
'icon' => 'megaphone',
|
||||
'link' => 'pages/notifications',
|
||||
'current' => function (string $current): bool {
|
||||
$path = Kirby\Cms\App::instance()->path();
|
||||
return Str::contains($path, 'pages/notifications');
|
||||
}
|
||||
],
|
||||
'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');
|
||||
}
|
||||
],
|
||||
// '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',
|
||||
'system'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue