Commit 0039ae06a8230e2bc51bd4c47835d769eff49844
1 parent
d7f5a86c
test
Showing
3 changed files
with
2 additions
and
3 deletions
Show diff stats
common/modules/comment/widgets/views/_question_comment_view.php
@@ -24,6 +24,7 @@ | @@ -24,6 +24,7 @@ | ||
24 | <div class="comments-name <?= CommentWidget::$baseClass[ 'comment_author' ] ?>"> | 24 | <div class="comments-name <?= CommentWidget::$baseClass[ 'comment_author' ] ?>"> |
25 | <?= $model->getAuthor(' (Гость)') ?> | 25 | <?= $model->getAuthor(' (Гость)') ?> |
26 | </div> | 26 | </div> |
27 | + <div><?=Html::img(!empty($model->user)?$model->user->userInfo->image:'/images/avatar-bg.png')?></div> | ||
27 | <?php | 28 | <?php |
28 | /* == STATUS PRO == | 29 | /* == STATUS PRO == |
29 | ?> | 30 | ?> |
common/modules/comment/widgets/views/form-comment-review.php
@@ -8,8 +8,6 @@ | @@ -8,8 +8,6 @@ | ||
8 | */ | 8 | */ |
9 | use common\modules\comment\widgets\CommentWidget; | 9 | use common\modules\comment\widgets\CommentWidget; |
10 | use kartik\rating\StarRating; | 10 | use kartik\rating\StarRating; |
11 | - use yii\bootstrap\BootstrapAsset; | ||
12 | - use yii\bootstrap\BootstrapPluginAsset; | ||
13 | use yii\web\View; | 11 | use yii\web\View; |
14 | use yii\widgets\ActiveForm; | 12 | use yii\widgets\ActiveForm; |
15 | use yii\helpers\Html; | 13 | use yii\helpers\Html; |
frontend/views/performer/_portfolio_list_view.php
@@ -54,5 +54,5 @@ | @@ -54,5 +54,5 @@ | ||
54 | <div class="portfolio-project-views-txt">14</div> | 54 | <div class="portfolio-project-views-txt">14</div> |
55 | </div> | 55 | </div> |
56 | </div> | 56 | </div> |
57 | - <div class="portfolio-project-blocks-tags"><?= StringHelper::truncate(implode(', ', ArrayHelper::getColumn($model->specializations, 'specialization_name')), 20) ?></div> | 57 | + <div class="portfolio-project-blocks-tags"><?= implode(', ', ArrayHelper::getColumn($model->specializations, 'specialization_name')) ?></div> |
58 | </div> | 58 | </div> |
59 | \ No newline at end of file | 59 | \ No newline at end of file |