@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; $blank = ['id' => null, 'course_id' => '', 'batch_id' => '', 'title' => '', 'topic' => '', 'description' => '', 'video_url' => '', 'sort_order' => 0, 'is_published' => true, 'requires_paid_up' => false]; @endphp
@include('tenant.coaching._errors')
@forelse($videos as $video) @php $editData = $video->only('id', 'course_id', 'batch_id', 'title', 'topic', 'description', 'video_url', 'sort_order', 'is_published', 'requires_paid_up'); @endphp @empty @endforelse
#VideoVisible toStudents watchedAccess
{{ $video->sort_order }} {{ $video->title }}

{{ $video->topic }}{{ $video->embedUrl() ? '' : ' · opens externally' }}

{{ $video->course?->name }}

{{ $video->batch ? 'Only '.$video->batch->name : 'All batches' }}

{{ $video->views_count }} ({{ (int) $video->total_views }} views) @if(! $video->is_published)Hidden @elseif($video->requires_paid_up)Fees up to date @elseEnrolled@endif
@csrf @method('DELETE')
No videos yet.
{{ $videos->links() }}
@csrf