From 114c7fb35a5e8effc9b8fd00b6522ee7aca08838 Mon Sep 17 00:00:00 2001 From: yarik Date: Fri, 5 Aug 2016 12:25:44 +0300 Subject: [PATCH] Added comments to prod. --- common/behaviors/NotifyBehavior.php | 1 + common/widgets/views/comment_notify.php | 3 +++ 2 files changed, 4 insertions(+), 0 deletions(-) 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