From a70ab1ba3649e5bdb7ca62cc1dbd295e090222b0 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Mon, 15 Feb 2021 20:38:33 -0700 Subject: [PATCH] Update reports view --- resources/views/admin/reports/home.blade.php | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/resources/views/admin/reports/home.blade.php b/resources/views/admin/reports/home.blade.php index e3c20319..254772ce 100644 --- a/resources/views/admin/reports/home.blade.php +++ b/resources/views/admin/reports/home.blade.php @@ -18,15 +18,17 @@ @php($ai = App\AccountInterstitial::whereNotNull('appeal_requested_at')->whereNull('appeal_handled_at')->count()) @php($spam = App\AccountInterstitial::whereType('post.autospam')->whereNull('appeal_handled_at')->count()) @if($ai || $spam) -
- -

{{$ai}}

- Appeal {{$ai == 1 ? 'Request' : 'Requests'}} -
- -

{{$spam}}

- Flagged {{$ai == 1 ? 'Post' : 'Posts'}} -
+ @endif @if($reports->count())