{{-- Header --}}

Gestion des articles

Créez, modifiez et gérez vos articles avec des outils SEO intégrés.

Nouvel article
{{-- Flash --}} @if (session('success'))
{{ session('success') }}
@endif {{-- Statistiques --}}

Total

{{ $stats['total'] }}

Publiés

{{ $stats['published'] }}

Brouillons

{{ $stats['draft'] }}

Archivés

{{ $stats['archived'] }}

{{-- Filtres --}}
@foreach ($categories as $cat) @endforeach
@foreach ($authors as $user) @endforeach
→
{{-- Sélection en cours --}} @if (count($selected) > 0)
{{ count($selected) }} sélectionné(s)
@endif {{-- Tableau --}}
@forelse ($articles as $article) @empty @endforelse
Titre {{ $sortField === 'title' ? ($sortDirection === 'asc' ? '↑' : '↓') : '' }} Catégorie {{ $sortField === 'category_id' ? ($sortDirection === 'asc' ? '↑' : '↓') : '' }} Statut {{ $sortField === 'status' ? ($sortDirection === 'asc' ? '↑' : '↓') : '' }} Publication {{ $sortField === 'published_at' ? ($sortDirection === 'asc' ? '↑' : '↓') : '' }} SEO Actions

{{ $article->title }}

@if ($article->excerpt)

{{ Str::limit($article->excerpt, 60) }}

@endif
@if ($article->category) {{ $article->category->name }} @else — @endif @if ($article->status === 'published') Publié @elseif ($article->status === 'draft') Brouillon @else Archivé @endif {{ $article->published_at ? $article->published_at->format('d/m/Y') : '—' }}
Aucun article trouvé.
@if ($articles->hasPages())
{{ $articles->links() }}
@endif