From 15ddacf39fc3c16b1bfcbdcbed83fa70fc0a9cfd Mon Sep 17 00:00:00 2001 From: iIronside Date: Mon, 7 Nov 2022 11:35:30 +0300 Subject: [PATCH] add some fixes at resume template --- .../card/views/resume-template/_form.php | 54 ++++++++++++------- backend/views/layouts/left.php | 9 ++-- 2 files changed, 40 insertions(+), 23 deletions(-) diff --git a/backend/modules/card/views/resume-template/_form.php b/backend/modules/card/views/resume-template/_form.php index 248b749..972606e 100644 --- a/backend/modules/card/views/resume-template/_form.php +++ b/backend/modules/card/views/resume-template/_form.php @@ -41,7 +41,7 @@ use yii\widgets\ActiveForm;
- +
@@ -51,71 +51,71 @@ use yii\widgets\ActiveForm; - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - + - +
Поле
ФИО${fio}${fio}
Паспорт${passport}${passport}
Электронная почта${email}${email}
Пол${gender}${gender}
Резюме${resume}${resume}
Зароботная плата${salary}${salary}
Позиция${position_id}${position_id}
Город${city}${city}
Ссылка ВК${link_vk}${link_vk}
Ссылка Телграм${link_telegram}${link_telegram}
Резюме текст${vc_text}${vc_text}
Уровень${level}${level}
Резюме текст${vc_text}${vc_text}
Резюме короткий текст${vc_text_short}${vc_text_short}
Лет опыта${years_of_exp}/td> + ${years_of_exp}/td>
Спецификация${specification}${specification}
Навыки${skills}${skills}
@@ -123,4 +123,22 @@ use yii\widgets\ActiveForm;
+ + + + + + + + + + + + + + + + + + diff --git a/backend/views/layouts/left.php b/backend/views/layouts/left.php index bf10536..a4084ac 100755 --- a/backend/views/layouts/left.php +++ b/backend/views/layouts/left.php @@ -3,12 +3,11 @@ 'Все', 'icon' => 'id-card', 'url' => ['/card/user-card']]]; + $menuItems = [['label' => 'Все', 'icon' => 'id-card', 'url' => ['/card/user-card'], 'active' => \Yii::$app->controller->id == 'user-card',]]; foreach ($userStatuses as $key => $status) { - $menuItems[] = ['label' => $status, 'icon' => 'id-card', 'url' => ['/card/user-card?UserCardSearch[status]=' . $key]]; + $menuItems[] = ['label' => $status, 'icon' => 'id-card', 'url' => ['/card/user-card?UserCardSearch[status]=' . $key], 'active' => \Yii::$app->controller->id == 'user-card',]; } - - $menuItems[] = ['label' => 'Шаблоны резюме', 'icon' => 'id-card', 'url' => ['/card/resume-template'], 'active' => \Yii::$app->controller->id == 'resume-template']; + $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']]; @@ -33,7 +32,7 @@ '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' => '#', //'active' => \Yii::$app->controller->id == 'user-card', 'items' => $menuItems, 'visible' => Yii::$app->user->can('confidential_information') ],