From c2f029a8906a90e7527fdf8f0320b9225eb3e8cf Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Thu, 23 Aug 2018 19:01:02 -0600 Subject: [PATCH] Add admin report template view --- resources/views/admin/reports/show.blade.php | 167 +++++++++++++++++++ 1 file changed, 167 insertions(+) create mode 100644 resources/views/admin/reports/show.blade.php diff --git a/resources/views/admin/reports/show.blade.php b/resources/views/admin/reports/show.blade.php new file mode 100644 index 00000000..e199d00d --- /dev/null +++ b/resources/views/admin/reports/show.blade.php @@ -0,0 +1,167 @@ +@extends('admin.partial.template') + +@section('section') +
+

Report #{{$report->id}} - {{ucfirst($report->type)}}

+
+ +
+
+
Reported: {{$report->reported()->url()}}
+
Reported by: {{$report->reporter->username}} admin
+

+ Message: + {{$report->message ?? 'No message provided.'}} +

+ + @if(!$report->admin_seen) + Ignore + {{-- Request Mod Feedback --}} + Add CW + Unlist/Hide + Delete + Shadowban User + Ban User + @else +

Resolved {{$report->admin_seen->diffForHumans()}}

+ @endif +
+
+ +
+
+
+
+ +
+
+
+
+
+
+
+
+ Reporter +
+
    +
  • Joined {{$report->reporter->created_at->diffForHumans()}}
  • +
  • Total Reports: {{App\Report::whereProfileId($report->reporter->id)->count()}}
  • +
  • Total Reported: {{App\Report::whereReportedProfileId($report->reporter->id)->count()}}
  • +
+
+
+
+
+
+ Reported +
+
    +
  • Joined {{$report->reportedUser->created_at->diffForHumans()}}
  • +
  • Total Reports: {{App\Report::whereProfileId($report->reportedUser->id)->count()}}
  • +
  • Total Reported: {{App\Report::whereReportedProfileId($report->reportedUser->id)->count()}}
  • +
+
+
+
+
+
+
+
+ +{{--
+
+
+
+ +
+
+
+
+
+

admin ignored this report. 2m

+
+
+

admin ignored this report. 2m

+
+
+

admin ignored this report. 2m

+
+
+
+
+
--}} + + +{{--
+
+
+
+ +
+
+
+
+
+
+
+
+ [username]: {{str_limit('Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod.', 150)}} 2m +
+
+
+
+
+
+ me: {{str_limit('Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod.', 150)}} 2m +
+
+
+
+
+
+ me: {{str_limit('Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod.', 150)}} 2m +
+
+
+
+
+ +
+
+
--}} +@endsection + +@push('scripts') + +@endpush \ No newline at end of file