- = Html::a(Html::img($model->interlocutor->userInfo->image));?>
+ = Html::a(Html::img($model->interlocutor->userInfo->image), $model->interlocutor->link, ['target' => '_blank']);?>
diff --git a/frontend/views/chat/message.php b/frontend/views/chat/message.php
index ee39f89..4be23df 100755
--- a/frontend/views/chat/message.php
+++ b/frontend/views/chat/message.php
@@ -4,6 +4,7 @@
use kartik\rating\StarRating;
use yii\helpers\Html;
use yii\widgets\ActiveForm;
+ use common\models\User;
$this->registerJsFile("/js/jmousewhell.js");
$this->registerJsFile("/js/jscroll.js");
@@ -19,7 +20,7 @@
-
= Html::a(Html::img($chat->interlocutor->userInfo->image)); ?>
+
= Html::a(Html::img($chat->interlocutor->userInfo->image), $chat->interlocutor->link, ['target' => '_blank']); ?>
= $chat->interlocutor->userInfo->name ?>
@@ -112,7 +113,7 @@
messages as $message): ?>
isMy()): ?>