diff --git a/common/behaviors/NotifyBehavior.php b/common/behaviors/NotifyBehavior.php index c48a0f1..61dc7a3 100644 --- a/common/behaviors/NotifyBehavior.php +++ b/common/behaviors/NotifyBehavior.php @@ -56,6 +56,7 @@ 'params' => [ 'model' => $model, 'url' => $url, + 'comment' => $owner, ], 'subject' => 'Ваш комментарий опубликован', 'email' => ( !empty( $customer ) ? $email : $owner->email ), diff --git a/common/widgets/views/comment_notify.php b/common/widgets/views/comment_notify.php index 4de1309..9ed6242 100644 --- a/common/widgets/views/comment_notify.php +++ b/common/widgets/views/comment_notify.php @@ -30,6 +30,9 @@ min-width: 360px; ">

Ваш коммертарий успешно опубликован.

+

Добрый день!

+

Ваш комментарий прошел модерацию и успешно опубликован.

+

text; ?>

Чтобы просмотреть комментарий перейдите по ссылке: Прочесть комментарий

-- libgit2 0.21.4