@extends('layouts.dashboard')
@section('title', t('التعليقات','Comments'))
@section('page-title','💬 '.t('إدارة التعليقات','Manage Comments'))
@section('content')
@forelse($comments as $c)
{{ strtoupper(substr($c->name,0,1)) }}
{{ $c->name }}
{{ $c->email }}
{{ $c->status }}
@if($c->post)
📝 {{ $c->post->title_ar }}@endif
{{ \Carbon\Carbon::parse($c->created_at)->diffForHumans() }}
{{ $c->content }}
@if($c->status !== 'approved')
@endif
@if($c->status !== 'spam')
@endif
@empty
{{ t('لا يوجد تعليقات','No comments') }}
@endforelse
@if($comments->hasPages())
{{ $comments->withQueryString()->links() }}
@endif
@endsection