{{-- Trainer: e-learning courses waiting for review. From TrainerCourseReviewController@index: $courses. --}} @extends('layouts.app') @section('title', 'Course Review') @section('content') @include('partials.flash')

rate_review New e-learning courses come here before staff see them. Read each module as a learner would, then approve it or request changes. The admin publishes it once you've approved it.

@if($courses->isEmpty())
task_alt

Nothing to review

When an admin sends a course for review, it appears here and you'll get a notification.

@else
@foreach($courses as $c) @endforeach
Course Modules Review Action
{{ $c->title }} {{ $c->course_id }} · {{ \Illuminate\Support\Str::headline($c->category) }} · {{ $c->duration_minutes }} min {{ $c->modules_count }} @if($c->review_outcome === 'approved') check_circle Approved by {{ $c->reviewer?->name ?? '—' }} · {{ $c->reviewed_at?->format('j M Y') }} — waiting to be published @elseif($c->review_outcome === 'changes_requested') edit_note Changes requested by {{ $c->reviewer?->name ?? '—' }} · {{ $c->reviewed_at?->format('j M Y') }} — waiting for the admin @else pending_actions Needs review @endif visibility {{ $c->review_outcome ? 'Open' : 'Review' }}
@endif @endsection