From 851c441319a4a67fed21da6fa192fbb019ebe157 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Thu, 11 Oct 2018 18:55:09 -0600 Subject: [PATCH] Update admin view --- resources/views/admin/home.blade.php | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/resources/views/admin/home.blade.php b/resources/views/admin/home.blade.php index 5cc59d60..c8cf6e62 100644 --- a/resources/views/admin/home.blade.php +++ b/resources/views/admin/home.blade.php @@ -30,30 +30,33 @@ + @php($reports = App\Report::whereNull('admin_seen')->count())
-

{{App\Util\Lexer\PrettyNumber::convert(App\Report::whereNull('admin_seen')->count())}}

+

{{App\Util\Lexer\PrettyNumber::convert($reports)}}

Reports

+ @php($statuses = App\Status::whereNull('in_reply_to_id')->whereNull('reblog_of_id')->count())
-

{{App\Util\Lexer\PrettyNumber::convert(App\Status::whereNull('in_reply_to_id')->whereNull('reblog_of_id')->count())}}

+

{{App\Util\Lexer\PrettyNumber::convert($statuses)}}

Statuses

+ @php($replies = App\Status::whereNotNull('in_reply_to_id')->count())
-

{{App\Util\Lexer\PrettyNumber::convert(App\Status::whereNotNull('in_reply_to_id')->count())}}

+

{{App\Util\Lexer\PrettyNumber::convert($replies)}}

Replies