@extends('admin.layouts.master-soyuz') @section('title', __('Shorts |')) @section('body') @component('admin.component.breadcumb', ['thirdactive' => 'active']) @slot('heading') {{ __('Shorts') }} @endslot @slot('menu1') {{ __('Products') }} @endslot @slot('menu2') {{ __('Shorts') }} @endslot @slot('button')
{{ __('Manage Ads') }} {{ __('Add Short') }}
@endslot @endcomponent
{{ __('Shorts') }}
@foreach($shorts as $key => $short) @endforeach
{{ __('ID') }} {{ __('Thumbnail') }} {{ __('Title / Caption') }} {{ __('Stats') }} {{ __('Uploader') }} {{ __('Status') }} {{ __('Action') }}
{{ $key + 1 }} @if($short->thumbnail && file_exists(public_path('images/shorts/' . $short->thumbnail))) @else {{ __('No thumbnail') }} @endif

{{ $short->title ?: '—' }}

@if($short->caption) {{ \Illuminate\Support\Str::limit($short->caption, 80) }}
@endif @if($short->video) {{ __('Preview video') }} @endif
{{ (int) $short->like_count }}
{{ (int) $short->comment_count }}
{{ (int) $short->view_count }}
{{ $short->user->name ?? '—' }}
@csrf
@endsection