@extends('layouts.teacher') @section('title', $title.' · '.config('brand.name')) @section('content')
@if (session('status'))
{{ session('status') }}
@endif @if ($errors->any())
{{ $errors->first() }}
@endif @if ($sessions->isEmpty())

@if ($section === 'now') No live class is in progress. Start Class first. Enter class appears here after the lesson is live. @elseif ($section === 'upcoming') No upcoming live sessions are assigned to you yet. Super Admin schedules the class time and assigns you as the teacher. @else No lessons to start today. Assigned classes for later appear under Upcoming Live Lessons, and each has Start Class. @endif

@else
@foreach ($sessions as $session) @endforeach
Subject When Type Audience Status
{{ $session->displayTitle() }} {{ $session->starts_at?->timezone('Africa/Accra')->format('D j M · g:i A') }} {{ $session->delivery_method?->label() }} {{ $session->audienceLabel() }} {{ $session->status?->label() }} @if ($session->usesZoom()) Zoom @endif @include('teacher.lessons.row-actions', ['item' => $session])
@endif
@endsection