@extends('admin.partial.template-full') @section('section')

Moderation Appeal

From @{{$appeal->user->username}} about {{$appeal->appeal_requested_at->diffForHumans()}}.

@if($appeal->type == 'post.cw')
Content Warning applied to {{$appeal->has_media ? 'Post' : 'Comment'}}
@if($appeal->has_media) @endif
@if($meta->caption)

{{$appeal->has_media ? 'Caption' : 'Comment'}}: {{$meta->caption}}

@endif

Like Count: {{$meta->likes_count}}

Share Count: {{$meta->reblogs_count}}

Timestamp: {{now()->parse($meta->created_at)->format('r')}}

URL: {{$meta->url}}

Message: {{$appeal->appeal_message}}

@elseif($appeal->type == 'post.unlist')
{{$appeal->has_media ? 'Post' : 'Comment'}} was unlisted from timelines
@if($appeal->has_media) @endif
@if($meta->caption)

{{$appeal->has_media ? 'Caption' : 'Comment'}}: {{$meta->caption}}

@endif

Like Count: {{$meta->likes_count}}

Share Count: {{$meta->reblogs_count}}

Timestamp: {{now()->parse($meta->created_at)->format('r')}}

URL: {{$meta->url}}

Message: {{$appeal->appeal_message}}

@endif
@csrf
@{{$appeal->user->username}} stats

Open Appeals: {{App\AccountInterstitial::whereUserId($appeal->user_id)->whereNotNull('appeal_requested_at')->whereNull('appeal_handled_at')->count()}}

Total Appeals: {{App\AccountInterstitial::whereUserId($appeal->user_id)->whereNotNull('appeal_requested_at')->count()}}

Total Warnings: {{App\AccountInterstitial::whereUserId($appeal->user_id)->count()}}

Status Count: {{$appeal->user->statuses()->count()}}

Joined: {{$appeal->user->created_at->diffForHumans(null, null, false)}}

@endsection @push('scripts') @endpush