@extends('layouts.teacher') @section('title', 'In class · '.$session->displayTitle()) @section('content') @php $canExtend = \App\Support\TeacherWorkspace::canExtend(auth()->user(), $session); $endBlockedReason = app(\App\Services\LessonSessionService::class)->endBlockedReason($session); @endphp
@if (session('status'))
{{ session('status') }}
@endif @if ($errors->any())
{{ $errors->first() }}
@endif

Start Class opens the MyEdCamp Zoom classroom. The join link is never published. Students can join only after you start.

{{ $session->displayTitle() }} · {{ $session->delivery_method?->label() }} · {{ $session->starts_at?->timezone('Africa/Accra')->format('g:i A') }} – {{ $session->ends_at?->timezone('Africa/Accra')->format('g:i A') }} @if ($session->delivery_method?->value === 'one_to_one') · {{ $session->student?->full_name }} @endif

@if ($canEnd)
@csrf
@elseif ($endBlockedReason) {{ $endBlockedReason }} @endif @if ($canExtend) @include('live.partials.extend-form', [ 'session' => $session, 'action' => route('teacher.live.extend', $session), 'size' => 'btn-md', ]) @endif
@endsection