@extends('layouts.tenant-admin') @section('title', 'المقالات') @section('content')

المقالات

@if ($articleLimit !== null)

{{ $articleCount }} / {{ $articleLimit }} مقال ضمن خطتك الحالية

@endif
@if ($articleLimit !== null && $articleCount >= $articleLimit) + مقال جديد (وصلت للحد) @else + مقال جديد @endif
@if (request('category_id') || request('status')) مسح الفلاتر @endif
@forelse ($articles as $article) @empty @endforelse
العنوان القسم الحالة درجة السيو تاريخ النشر إجراءات
{{ $article->title }} @if ($article->is_auto_generated) 🤖 آلي @endif {{ $article->category->name ?? '—' }} $article->status === 'published', 'bg-yellow-100 text-yellow-700' => $article->status === 'draft', 'bg-blue-100 text-blue-700' => $article->status === 'scheduled', ])> {{ ['draft' => 'مسودة', 'published' => 'منشور', 'scheduled' => 'مجدول'][$article->status] ?? $article->status }} {{ $article->seo_score }}/100 {{ $article->published_at?->format('Y-m-d') ?? '—' }} @if ($article->status === 'published') عرض @endif تعديل
@csrf @method('DELETE')
لا توجد مقالات بعد.
{{ $articles->links() }}
@endsection