@php $tenant = \App\Support\Facades\Tenancy::get(); $brandStyle = $tenant->brand_primary_color ? ":root { --color-brand-600: {$tenant->brand_primary_color}; } .dark { --color-brand-600: {$tenant->brand_primary_color}; }" : null; @endphp
All @foreach($statuses as $status) {{ ucfirst($status) }} @endforeach Deleted
@forelse($notices as $index => $notice) @empty @endforelse
# Title Audience Status Ack. Required Public Created
{{ $index + 1 }} {{ $notice->title }} {{ ucfirst($notice->audience_type) }} @if($notice->branch) — {{ $notice->branch->name }} @endif @if($notice->section) — {{ $notice->section->label() }} @endif @if($notice->schoolClass) — {{ $notice->schoolClass->name }} @endif @if($notice->audience_role) — {{ ucfirst(str_replace('_', ' ', $notice->audience_role)) }} @endif {{ ucfirst($notice->status) }} {{ $notice->requires_acknowledgement ? 'Yes' : 'No' }} @if($notice->is_public)Public@else — @endif {{ $notice->created_at->format('M j, Y') }}
@if($tab === 'deleted')
@csrf
@else @if($notice->status === 'draft')
@csrf
@elseif($notice->status === 'published')
@csrf
@elseif($notice->status === 'archived')
@csrf
@endif @endif
{{ $tab === 'deleted' ? 'No deleted notices.' : 'No notices yet.' }}
@if($tab !== 'deleted') @foreach($notices as $notice) @endforeach @endif
@csrf
Image preview

Shown to every section within this class.