project column menu

This commit is contained in:
Kavalar 2023-04-20 02:16:32 +03:00
parent 2482ae89f6
commit 5508fcb1ee

View File

@ -73,6 +73,7 @@
['label' => 'Задачи', 'icon' => 'minus', 'url' => ['/task/task'], 'active' => \Yii::$app->controller->id == 'task'], ['label' => 'Задачи', 'icon' => 'minus', 'url' => ['/task/task'], 'active' => \Yii::$app->controller->id == 'task'],
['label' => 'Исполнители задачи', 'icon' => 'users', 'url' => ['/task/task-user'], 'active' => \Yii::$app->controller->id == 'task-user'], ['label' => 'Исполнители задачи', 'icon' => 'users', 'url' => ['/task/task-user'], 'active' => \Yii::$app->controller->id == 'task-user'],
['label' => 'Категории задач', 'icon' => 'users', 'url' => ['/task/project-task-category'], 'active' => \Yii::$app->controller->id == 'project-task-category'], ['label' => 'Категории задач', 'icon' => 'users', 'url' => ['/task/project-task-category'], 'active' => \Yii::$app->controller->id == 'project-task-category'],
['label' => 'Колонки', 'icon' => 'tag', 'url' => ['/project/project-column'], 'active' => \Yii::$app->controller->id == 'project-column'],
], ],
'visible' => Yii::$app->user->can('task') 'visible' => Yii::$app->user->can('task')
], ],