From 4efa463b188646e3a6c4af064df2a6453bcc2ca0 Mon Sep 17 00:00:00 2001 From: iIronside Date: Tue, 8 Nov 2022 15:41:30 +0300 Subject: [PATCH] some fixes in resume --- backend/modules/card/views/user-card/resume.php | 1 + backend/modules/card/views/user-card/view.php | 4 ++++ common/models/UserCard.php | 2 +- 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/backend/modules/card/views/user-card/resume.php b/backend/modules/card/views/user-card/resume.php index ac417c6..5bfef32 100644 --- a/backend/modules/card/views/user-card/resume.php +++ b/backend/modules/card/views/user-card/resume.php @@ -18,6 +18,7 @@ $this->params['breadcrumbs'][] = 'Резюме';
$model->id], ['class' => 'btn btn-primary']) ?> + $model->id], ['class' => 'btn btn-primary']) ?>
diff --git a/backend/modules/card/views/user-card/view.php b/backend/modules/card/views/user-card/view.php index 4aae97b..c72c7a9 100755 --- a/backend/modules/card/views/user-card/view.php +++ b/backend/modules/card/views/user-card/view.php @@ -99,6 +99,10 @@ $this->params['breadcrumbs'][] = $this->title; 'attribute' => 'test_task_complete_date', 'format' => ['datetime', 'php:d.m.Y'] ], + [ + 'attribute' => 'resume_text', + 'format' => 'raw' + ], ], ]) ?> diff --git a/common/models/UserCard.php b/common/models/UserCard.php index 6fb4ac6..f396c07 100755 --- a/common/models/UserCard.php +++ b/common/models/UserCard.php @@ -155,7 +155,7 @@ class UserCard extends \yii\db\ActiveRecord 'test_task_getting_date' => 'Дата получения тестового', 'test_task_complete_date' => 'Дата выполнения тестового', 'resumeTemplateId' => 'Шаблон резюме', - 'resume_text' => 'Текст резюме' + 'resume_text' => 'Резюме сгенерированный текст' ]; }