@extends('layouts.admin') @section('title', 'Dashboard') @section('content')
Videos

{{$videos_count}}

Users

{{$users_count}}

Comments

{{$comments_count}}

Reports

{{$reports_count}}

Most Reported contents
@if($reports->count())
@forelse($reports as $report) @empty @endforelse
Type Content First Report Count Actions
{{$report->type}}
@if($report->type == 'Video')
{{Str::limit($report->reportable->title, 100), '...'}} {{Str::limit($report->reportable->description, 200), '...'}} {{$report->reportable->user->username}}
@elseif($report->type == 'Comment') {{$report->reportable->user->username}} {{$report->reportable->content}} @elseif($report->type == 'User') {{$report->reportable->username}} avatar
{{$report->reportable->username}}
@endif
{{$report->first_report_at->diffForHumans()}}
{{$report->reports_count}} Reports

No matching reports for this period

@else
No reports yet
@endif
@endsection