@extends('layouts.staff') @section('title', 'Staff Workspace') @section('content') @php $greeting = now()->format('H') < 12 ? 'Good morning' : (now()->format('H') < 17 ? 'Good afternoon' : 'Good evening'); @endphp
Here is your day at {{ $school->name }} — {{ now()->format('l, j F Y') }}.
No classes scheduled for today.
Timetable entries for your subjects will appear here.
{{ $entry->subject?->name ?? 'Subject' }}
{{ $entry->classroom?->name ?? '—' }} @if($entry->room) · {{ $entry->room }} @endif
No subjects assigned to you yet.
@else{{ $subject->name }}
{{ $subject->classroom?->name ?? 'No class' }}
You're all caught up — no notices or messages.
@else@unless ($notification->is_read) @endunless {{ $notification->title }}
{{ $notification->body }}
Message from {{ $message->sender?->name ?? 'School office' }}
{{ $message->subject ?? $message->body }}