diff --git a/app/Models/CommentModel.php b/app/Models/CommentModel.php index bf8e8cef..d9d41abe 100644 --- a/app/Models/CommentModel.php +++ b/app/Models/CommentModel.php @@ -122,7 +122,8 @@ class CommentModel extends \Hleb\Scheme\App\Models\MainModel votes_comment_user_id, id, login, - avatar + avatar, + created_at FROM comments JOIN users ON id = comment_user_id JOIN posts ON comment_post_id = post_id AND post_tl <= :tl diff --git a/app/Models/FacetModel.php b/app/Models/FacetModel.php index 7097cbad..b5e9fc82 100644 --- a/app/Models/FacetModel.php +++ b/app/Models/FacetModel.php @@ -262,6 +262,7 @@ class FacetModel extends \Hleb\Scheme\App\Models\MainModel id, login, avatar, + created_at, is_deleted, about FROM users diff --git a/resources/views/default/_block/navigation/menu-user.php b/resources/views/default/_block/navigation/menu-user.php index 0f09152b..98a6db67 100644 --- a/resources/views/default/_block/navigation/menu-user.php +++ b/resources/views/default/_block/navigation/menu-user.php @@ -8,7 +8,7 @@ $login = $user['login'] ?? false; = Img::avatar(UserData::getUserAvatar(), UserData::getUserLogin(), 'img-base mt5 mr5', 'small'); ?>
diff --git a/resources/views/default/content/comment/comment.php b/resources/views/default/content/comment/comment.php index a40b69c5..2e1af4c4 100644 --- a/resources/views/default/content/comment/comment.php +++ b/resources/views/default/content/comment/comment.php @@ -6,7 +6,7 @@ foreach ($comments as $comment) :