{{ __('إدارة المقالات') }}

{{ __('إدارة وتنظيم محتوى المدونة والمقالات') }}

{{ __('إجمالي المقالات') }}

{{ $posts->total() ?? 0 }}

{{ __('منشور') }}

{{ $publishedCount ?? 0 }}

{{ __('مسودة') }}

{{ $draftCount ?? 0 }}

{{ __('هذا الشهر') }}

{{ $thisMonthCount ?? 0 }}
@if($posts->count())
@foreach($posts as $post) @endforeach
# {{ __('العنوان') }} {{ __('التصنيف') }} {{ __('الحالة') }} {{ __('تاريخ النشر') }} {{ __('الكاتب') }} {{ __('العمليات') }}
{{ $loop->iteration }}
{{ Str::limit($post->title, 50) }} @if($post->excerpt)

{{ Str::limit($post->excerpt, 80) }}

@endif
@if($post->category) {{ $post->category }} @else - @endif @if($post->status == 'published') {{ __('منشور') }} @else {{ __('مسودة') }} @endif {{ $post->published_at ? $post->published_at->format('d/m/Y') : '-' }}
{{ strtoupper(substr($post->user->name, 0, 1)) }}
{{ $post->user->name }}
@if($post->status == 'draft')
@csrf
@else
@csrf
@endif
@csrf @method('DELETE')
{{ $posts->links() }}
@else

{{ __('لا توجد مقالات') }}

{{ __('لم يتم العثور على أي مقالات. ابدأ بإنشاء مقالك الأول.') }}

{{ __('إنشاء مقال جديد') }}
@endif
@if($posts->count())
{{ __('0 مقال محدد') }}
@endif