@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; $typeLabels = ['recorded_video' => 'Recorded Video', 'live_class_link' => 'Live Class Link', 'document' => 'Document', 'link' => 'Link']; @endphp
All grades @foreach($classes as $class) {{ $class->name }} @endforeach
@forelse($materials as $material) @empty @endforelse
# Title Subject / Section Teacher Type Link Published
{{ $loop->iteration }} {{ $material->title }} {{ $material->courseOffering->subject->name }} ยท {{ $material->courseOffering->section->label() }} {{ $material->creator->name ?? 'โ€”' }} {{ $typeLabels[$material->type] }} @if($material->url) Open link @elseif($material->file_path) View file @else โ€” @endif {{ $material->published_at?->format('M j, Y') ?? 'โ€”' }}
No course materials shared yet.