@extends('admin.layouts.app') @section('title', 'Content Reviews') @section('content')

Content Reviews

Review and approve pending content

{{ $counts['total'] }} Pending
@if(session('success'))
{{ session('success') }}
@endif @if(session('error'))
{{ session('error') }}
@endif
@forelse($revisions as $revision) @empty @endforelse
# Content Type Title Submitted By Submitted At Status Actions
{{ $loop->iteration + ($revisions->currentPage() - 1) * $revisions->perPage() }} {{ $revision->model_name }} {{ $revision->model_title }}
{{ substr($revision->user?->name ?? 'U', 0, 2) }}
{{ $revision->user?->name ?? 'Unknown' }}
{{ $revision->created_at->format('d M Y, h:i A') }} {{ $revision->created_at->diffForHumans() }}
@if($revision->status == 'pending') Pending @elseif($revision->status == 'approved') Approved @else Rejected @endif Review
No Pending Reviews!

All content is approved and up to date.

@endsection