{{-- Status badge (All tab) --}}
@if ($tab === 'all')
@if ($routeArticle->isApproved())
Approved
@elseif ($routeArticle->isRejected())
Rejected
@else
Pending
@endif
@endif
{{-- Action buttons --}}
@if ($routeArticle->isPending())
@elseif ($routeArticle->isRejected())
@endif
{{-- Link to original --}}
@if ($routeArticle->article->url)
@endif
@empty
@if ($tab === 'pending')
No pending articles
@else
No articles found
@endif
@if ($tab === 'pending')
All route articles have been reviewed.
@elseif ($search !== '')
No results for "{{ $search }}".
@else
No route articles have been created yet.
@endif