@extends('Frontend.Master.authMaster') @section('content')
@include('Frontend.Layouts.leftbar')
{{-- --}} {{-- --}} @foreach($allFiles as $index => $allFile) {{-- --}} {{-- --}} {{-- --}} @endforeach
Sl No.NameTitleDescriptionPurpose Tags date Image Action
{{ ($allFiles->firstItem() + $loop->index) }}{{ $allFile->name }}{{ $allFile->title }}{{ $allFile->description }}{{ \Illuminate\Support\Str::limit($allFile->purpose, 50, '...') }}{{ $allFile->purpose }} @php $tagsArray = is_array($allFile->tags) ? $allFile->tags : json_decode($allFile->tags, true); @endphp @foreach($tagsArray ?? [] as $tag) {{ is_array($tag) ? implode(', ', $tag) : $tag }} @endforeach {{$allFile->created_at->format('d-m-Y h:i A')}} {{-- {{ asset('storage/' . $allFile->thumb_image) }} --}} @if($allFile->thumb_image) Thumbnail {{-- Thumbnail --}} @else No Image @endif
@endsection