@extends($activeTemplate . 'layouts.master') @section('content')
@lang('Plan Details')
@lang('Videos in this Plan')
@if (!blank($planVideos))
@foreach ($planVideos as $video)
{{ $video->title }} {{ $video->duration }}
{{ __(@$video->user->channel_name) }}
{{ $video->title }}
{{ formatNumber($video->views) }}@lang('views') {{ $video->created_at->diffForHumans() }}
@endforeach
@else
@include('Template::partials.empty')
@endif
@if ($planVideos->hasPages()) {{ $planVideos->appends(['tab' => 'videos'])->links() }} @endif
@lang('Playlists in this Plan')
@if (!blank($planPlaylists)) @if ($planPlaylists->hasPages()) {{ $planPlaylists->appends(['tab' => 'playlists'])->links() }} @endif @else
@include('Template::partials.empty')
@endif
@include('Template::user.plans.modal') @endsection @push('script') @endpush @push('style') @endpush