| Title | Category | Status | Publish Date | Views | Actions | |
|---|---|---|---|---|---|---|
|
|
{{ Str::limit($post->title, 64) }} @if($post->is_featured) @endif | {{ $post->category?->name ?? '—' }} | @php $badge = match ($post->status) { 'published' => 'bg-success-subtle text-success', 'scheduled' => 'bg-primary-subtle text-primary', default => 'bg-secondary-subtle text-secondary', }; @endphp {{ ucfirst($post->status) }} | {{ $post->published_at?->format('j M Y, g:i a') ?? '—' }} | {{ number_format($post->views_count) }} | @if($post->status === 'published') View @endif Edit |