@use('App\Filters\Forms\Admin\VideoFiltersForm') @extends('layouts.admin') @section('title', 'Videos') @section('content')

Videos


{!! form(FormBuilder::create(VideoFiltersForm::class)) !!}
@forelse($videos as $video) @empty @endforelse
User Video Visibility Date Views Comments Interactions Actions
{{$video->user->username}} avatar
{{$video->user->username}} {{$video->user->subscribers_count}} subscribers • {{$video->user->videos_count}} videos
@if(!$video->is_draft) @if($video->category)
{{$video->category->title}}
@else
No category
@endif @endif
@if($video->is_draft)
@else @endif
{{Str::limit($video->title, 100), '...'}}
@include('videos.status') @if($video->is_private || $video->is_unlisted || $video->is_draft || $video->is_failed) {{$video->created_at->format('d F Y H:i')}}
Uploaded
@elseif($video->is_planned) {{$video->scheduled_date->format('d F Y H:i')}}
Scheduled
@else {{$video->publication_date->format('d F Y H:i')}}
Published
@endif
@if(!$video->is_draft) @if($video->views_count) {{$video->views_count}} views @else No views @endif @endif @if(!$video->is_draft) @if($video->comments_count) {{trans_choice('comments', $video->comments_count)}} @else
No comments
@endif @if(!$video->allow_comments)
Disabled
@endif @endif
@if(!$video->is_draft) @include('users.partials.interactions', ['item' => $video])
@if($video->interactions_count)
Details
@endif @if(!$video->show_likes)
Disabled
@endif
@endif
@if(!$video->is_banned) @endif

No matching videos

{{ $videos->links() }} @include('videos.modals.interactions') @include('admin.videos.modals.ban') @endsection