@extends("layouts.main") @section('title', Lang::get('Video Yönetimi')) @section('content')

@lang("Video Yönetimi") - {{ $lesson->title }}

@lang("Kurs"): {{ $course->title }}
@lang("Ders"): {{ $lesson->title }}
@if($lesson->description)

{{ $lesson->description }}

@endif
@lang("İstatistikler")

@lang("Toplam Video"): {{ $videos->total() }}

@lang("Aktif Video"): {{ $videos->where('isActive', 1)->count() }}

@lang("Pasif Video"): {{ $videos->where('isActive', 0)->count() }}

@if($videos->count() > 0) @foreach($videos as $video) @endforeach @else @endif
# @lang("Sıra") @lang("Video Adı") @lang("Açıklama") @lang("Video URL") @lang("Süre (dk)") @lang("Durum") @lang("İşlemler")
{{ $i }} {{ $video->order ?? '-' }} {{ $video->title ?? __('Bilgi Yok') }} {{ Str::limit($video->description, 50) ?? '-' }} @if($video->videoUrl) @lang("İzle") @else - @endif {{ $video->duration ?? '-' }} @if($video->isActive) @lang("Aktif") @else @lang("Pasif") @endif
@lang("Bu derse ait video bulunamadı")
{{ $videos->links('pagination::bootstrap-4') }}
@endsection