-
'ru',
diff --git a/backend/modules/card/views/user-card/resume.php b/backend/modules/card/views/user-card/resume.php
index d1fae3a..ac417c6 100644
--- a/backend/modules/card/views/user-card/resume.php
+++ b/backend/modules/card/views/user-card/resume.php
@@ -16,6 +16,10 @@ $this->params['breadcrumbs'][] = ['label' => $model->id, 'url' => ['view', 'id'
$this->params['breadcrumbs'][] = 'Резюме';
?>
+
+ = Html::a('Редактировать профиль', ['update', 'id' => $model->id], ['class' => 'btn btn-primary']) ?>
+
+
'text-by-template-form',
diff --git a/backend/views/layouts/left.php b/backend/views/layouts/left.php
index 256befe..6a9a865 100755
--- a/backend/views/layouts/left.php
+++ b/backend/views/layouts/left.php
@@ -7,7 +7,6 @@
foreach ($userStatuses as $key => $status) {
$menuItems[] = ['label' => $status, 'icon' => 'id-card', 'url' => ['/card/user-card?UserCardSearch[status]=' . $key], 'active' => \Yii::$app->controller->id == 'user-card',];
}
- $menuItems[] = ['label' => 'Шаблоны резюме', 'icon' => 'file', 'url' => ['/card/resume-template'], 'active' => \Yii::$app->controller->id == 'resume-template'];
$projectStatuses = \common\models\Status::getStatusesArray(\common\models\UseStatus::USE_PROJECT);
$projectItems = [['label' => 'Все', 'icon' => 'cubes', 'url' => ['/project/project'], 'active' => \Yii::$app->controller->id == 'project']];
@@ -28,13 +27,14 @@
['label' => 'Доп. поля', 'icon' => 'file-text-o', 'url' => ['/settings/additional-fields'], 'active' => \Yii::$app->controller->id == 'additional-fields'],
['label' => 'Должность', 'icon' => 'spotify', 'url' => ['/settings/position'], 'active' => \Yii::$app->controller->id == 'position'],
['label' => 'Навыки', 'icon' => 'flask', 'url' => ['/settings/skill'], 'active' => \Yii::$app->controller->id == 'skill'],
+ ['label' => 'Шаблоны резюме', 'icon' => 'file', 'url' => ['/card/resume-template'], 'active' => \Yii::$app->controller->id == 'resume-template']
],
- //'visible' => Yii::$app->user->can('confidential_information')
+ 'visible' => Yii::$app->user->can('confidential_information')
],
[
- 'label' => 'Профили', 'icon' => 'address-book-o', 'url' => '#', //'active' => \Yii::$app->controller->id == 'user-card',
+ 'label' => 'Профили', 'icon' => 'address-book-o', 'url' => '#',
'items' => $menuItems,
- //'visible' => Yii::$app->user->can('confidential_information')
+ 'visible' => Yii::$app->user->can('confidential_information')
],
[
'label' => 'Сотрудники', 'icon' => 'users', 'url' => '#',
@@ -62,7 +62,7 @@
'visible' => Yii::$app->user->can('confidential_information')
],
[
- 'label' => 'Проекты', 'icon' => 'cubes', 'url' => ['#'], //'active' => \Yii::$app->controller->id == 'project',
+ 'label' => 'Проекты', 'icon' => 'cubes', 'url' => ['#'],
'items' => $projectItems,
'visible' => Yii::$app->user->can('confidential_information')
],