|
@@ -93,22 +93,29 @@ $profile = Yii::$app->user->identity->profile;
|
|
]
|
|
]
|
|
],
|
|
],
|
|
['label' => 'Тэги', 'icon' => 'th', 'url' => ['/manager/tags/index'],
|
|
['label' => 'Тэги', 'icon' => 'th', 'url' => ['/manager/tags/index'],
|
|
- 'badge' => '<span class="right badge badge-danger">New</span>',
|
|
|
|
'items' => [
|
|
'items' => [
|
|
['label' => 'Список', 'url' => ['/manager/tags/index'], 'iconStyle' => 'far'],
|
|
['label' => 'Список', 'url' => ['/manager/tags/index'], 'iconStyle' => 'far'],
|
|
['label' => 'Создать', 'url' => ['/manager/tags/create'], 'iconStyle' => 'far'],
|
|
['label' => 'Создать', 'url' => ['/manager/tags/create'], 'iconStyle' => 'far'],
|
|
['label' => 'Меню', 'url' => ['/manager/tagsfilter/index'], 'iconStyle' => 'far', 'iconClass'=>'nav-icon fas fa-th-list']
|
|
['label' => 'Меню', 'url' => ['/manager/tagsfilter/index'], 'iconStyle' => 'far', 'iconClass'=>'nav-icon fas fa-th-list']
|
|
]
|
|
]
|
|
],
|
|
],
|
|
|
|
+ ['label' => 'Опросы', 'icon' => 'th', 'url' => ['/manager/inquirer/'],
|
|
|
|
+ 'badge' => '<span class="right badge badge-danger">New</span>',
|
|
|
|
+ 'items' => [
|
|
|
|
+ ['label' => 'Список опросов', 'url' => ['/manager/inquirer/index'], 'iconStyle' => 'far'],
|
|
|
|
+ ['label' => 'Создать', 'url' => ['/manager/inquirer/create'], 'iconStyle' => 'far'],
|
|
|
|
+ ]
|
|
|
|
+ ],
|
|
|
|
+
|
|
['label' => 'Статистика', 'icon' => 'th', 'url' => ['/manager/stats/index'],
|
|
['label' => 'Статистика', 'icon' => 'th', 'url' => ['/manager/stats/index'],
|
|
'items' => [
|
|
'items' => [
|
|
['label' => 'доска', 'url' => ['/manager/stats/index'], 'iconStyle' => 'far'],
|
|
['label' => 'доска', 'url' => ['/manager/stats/index'], 'iconStyle' => 'far'],
|
|
['label' => 'Авторы', 'url' => ['/manager/stats/authors'], 'iconStyle' => 'far']
|
|
['label' => 'Авторы', 'url' => ['/manager/stats/authors'], 'iconStyle' => 'far']
|
|
]
|
|
]
|
|
],
|
|
],
|
|
- ['label' => 'Персоны','icon' => 'user', 'url' => ['/manager/person/'],'badge' => '<span class="right badge badge-danger">New</span>',
|
|
|
|
|
|
+ ['label' => 'Персоны','icon' => 'user', 'url' => ['/manager/person/']
|
|
],
|
|
],
|
|
- ['label' => 'Авторы','icon' => 'user', 'url' => ['/manager/authors/']
|
|
|
|
|
|
+ ['label' => 'Авторы','icon' => 'user', 'url' => ['/manager/authors/'],'badge' => '<span class="right badge badge-danger">New</span>'
|
|
],
|
|
],
|
|
['label' => 'пользователи', 'icon' => 'user', 'url' => ['/user/admin/index'], 'visible' => Yii::$app->user->can('view_manage_users_page'),
|
|
['label' => 'пользователи', 'icon' => 'user', 'url' => ['/user/admin/index'], 'visible' => Yii::$app->user->can('view_manage_users_page'),
|
|
'items' => [
|
|
'items' => [
|