التعليق الأساسي
@if($comment->user)
{{ mb_substr($comment->user->name, 0, 1) }}
{{ $comment->user->name }}

{{ $comment->user->email }}

@else
?

مستخدم محذوف

@endif

{{ $comment->comment }}

@if($comment->video) {{ $comment->video->title }} @else فيديو محذوف @endif

{{ $comment->createdAt ? $comment->createdAt->format('Y-m-d H:i') : '-' }}

{{ $comment->replies->count() }}

{{ $comment->reports->count() }}

@if($comment->replies->count() > 0)
الردود ({{ $comment->replies->count() }})
@foreach($comment->replies as $reply)
@if($reply->user)
{{ mb_substr($reply->user->name, 0, 1) }}
{{ $reply->user->name }}

{{ $reply->comment }}

{{ $reply->createdAt ? $reply->createdAt->diffForHumans() : '-' }}
@else
مستخدم محذوف
@endif
@endforeach
@endif @if($comment->reports->count() > 0)
البلاغات ({{ $comment->reports->count() }})
@foreach($comment->reports as $report) @endforeach
المبلغ السبب التعليق التاريخ
@if($report->reporter) {{ $report->reporter->name }} @else مستخدم محذوف @endif {{ $report->getReasonText() }} {{ $report->comment }} {{ $report->createdAt ? $report->createdAt->diffForHumans() : '-' }}
@endif
العودة للقائمة
@csrf @method('DELETE')