{{-- Hero Banner --}}
المحررين

مساحة المحررين

{{ $isManager ? 'إدارة وتوزيع مهام المونتاج على المحررين' : 'مهام المونتاج الخاصة بك' }} — إجمالي {{ $total }} محاضرة

{{-- Assignment Form (manager only) --}} @if ($isManager)
✂️

تعيين محرر لمحاضرة

@endif {{-- Stats Row --}}
@foreach ($columns as $col)

{{ $columnLabels[$col] ?? $col }}

{{ $columnCounts[$col] ?? 0 }}

{{ $col === 'tasks' ? '📋' : '' }} {{ $col === 'in_production' ? '✂️' : '' }} {{ $col === 'under_review' ? '🔍' : '' }} {{ $col === 'ready' ? '✅' : '' }}
@endforeach
{{-- Kanban Board --}}
@foreach ($columns as $col) @php $items = $productionsByColumn[$col] ?? collect(); @endphp

{{ $columnLabels[$col] ?? $col }}

{{ $items->count() }}
@forelse ($items as $lecture)

{{ $lecture->title }}

@if ($lecture->teacher_name)

👨‍🏫 {{ $lecture->teacher_name }}

@endif @if ($lecture->course_name)

📚 {{ $lecture->course_name }}

@endif @php $editorName = null; if ($lecture->editor_id) { $editorUser = \App\Models\User::find($lecture->editor_id); $editorName = $editorUser ? $editorUser->name : null; } @endphp @if ($editorName)

✂️ {{ $editorName }}

@endif @if ($lecture->due_date)

📅 {{ \Carbon\Carbon::parse($lecture->due_date)->format('Y-m-d') }}

@endif @if ($lecture->raw_video_url)

🔗 رابط خام موجود

@endif @if ($lecture->final_video_url)

✅ رابط نهائي موجود

@endif
@empty

📂 لا توجد محاضرات

@endforelse
@endforeach
{{-- Lecture Detail Modal --}}
✂️

@if ($selectedLecture)
{{-- Lecture Info --}}
@if ($selectedLecture->teacher_name)

المدرس

👨‍🏫 {{ $selectedLecture->teacher_name }}

@endif @if ($selectedLecture->course_name)

الكورس

📚 {{ $selectedLecture->course_name }}

@endif @if ($selectedLecture->lecture_no)

رقم المحاضرة

#{{ $selectedLecture->lecture_no }}

@endif @if ($selectedLecture->due_date)

تاريخ الاستحقاق

📅 {{ \Carbon\Carbon::parse($selectedLecture->due_date)->format('Y-m-d') }}

@endif
{{-- Video URLs --}}

🔗 روابط الفيديو

{{-- Notes --}}

📝 الملاحظات

@if ($selectedLecture->notes)
{{ $selectedLecture->notes }}
@endif
{{-- Current Status --}}
الحالة الحالية @php $statusLabels = ['pending'=>'بانتظار المونتاج','assigned'=>'تم التعيين','editing'=>'قيد المونتاج','review'=>'قيد المراجعة','needs_edits'=>'بحاجة تعديلات','ready'=>'جاهز','published'=>'منشور']; @endphp {{ $statusLabels[$selectedLecture->editing_status] ?? $selectedLecture->editing_status }}
@endif
{{-- Notifications --}}