From 9e84cd63ebe32b6a0875be4f2312d861e0b38341 Mon Sep 17 00:00:00 2001 From: Krivchikov Dmitry Date: Sat, 14 Nov 2015 11:33:31 +0300 Subject: [PATCH] =?UTF-8?q?ADD=20=D1=83=D0=B2=D0=B5=D0=B4=D0=BE=D0=BC?= =?UTF-8?q?=D0=BB=D0=B5=D0=BD=D0=B8=D1=8F=20=D0=BD=D0=B0=20=D0=B4=D0=BE?= =?UTF-8?q?=D0=B1=D0=B0=D0=BB=D0=B5=D0=BD=D0=B8=D0=B5=20=D0=BA=D0=BE=D0=BC?= =?UTF-8?q?=D0=BC=D0=B5=D0=BD=D1=82=D0=B0=D1=80=D0=B8=D1=8F=20=D0=BA=20?= =?UTF-8?q?=D1=81=D1=82=D0=B0=D1=82=D1=8C=D0=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ground/views/user/notification.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ground/views/user/notification.php b/ground/views/user/notification.php index d661d5b..e19b108 100644 --- a/ground/views/user/notification.php +++ b/ground/views/user/notification.php @@ -10,6 +10,11 @@ switch ($notification->type) { $point = Point::model()->getByPK($comment->parentId); print strftime('%d %b %H:%M', $notification->date).' — Новый комментарий к точке "'.$point->name.'".'; break; + case Notifications::typeNewCommentArticle: + $comment = $notification->RefComment; + $article = Article::model()->getByPK($comment->parentId); + print strftime('%d %b %H:%M', $notification->date).' — Новый комментарий к статье "'.$article->title.'".'; + break; default: break; }