panel > menu : add impacts
This commit is contained in:
parent
0349468aed
commit
ac5c395e1c
1 changed files with 9 additions and 0 deletions
|
|
@ -22,6 +22,15 @@ return [
|
||||||
],
|
],
|
||||||
'-'
|
'-'
|
||||||
,
|
,
|
||||||
|
'impacts' => [
|
||||||
|
'label' => 'Impacts',
|
||||||
|
'icon' => 'book',
|
||||||
|
'link' => 'pages/impacts',
|
||||||
|
'current' => function (string $current): bool {
|
||||||
|
$path = Kirby\Cms\App::instance()->path();
|
||||||
|
return Str::contains($path, 'pages/impacts');
|
||||||
|
}
|
||||||
|
],
|
||||||
'dossiers' => [
|
'dossiers' => [
|
||||||
'label' => 'Dossiers',
|
'label' => 'Dossiers',
|
||||||
'icon' => 'folder',
|
'icon' => 'folder',
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue