@if ($list_items) @foreach ($list_items as $list_item) {{ $loop->iteration }} @if($list_item->image) {{ $list_item->title ?: 'Gallery Image' }} @else No Image @endif
{{ $list_item->title ?: 'Untitled Image' }}
@if($list_item->description) {{ Str::limit($list_item->description, 50) }} @endif @if($list_item->album) {{ $list_item->album->title }} @else No Album @endif @if ($list_item->status) Active @else Inactive @endif {{ $list_item->updated_at->format('d-m-Y, g:i A') }} @include('admin.crud.action-dropdown', [ 'cloneUrl' => url('admin/gallery-images/'.$list_item->id.'/clone'), 'cloneTitle' => 'Clone Image', 'editUrl' => url('admin/gallery-images/'.$list_item->id.'/edit'), 'editTitle' => 'Update Image', 'deleteUrl' => route('admin.gallery-images.destroy', $list_item->id), 'redirectUrl' => route('admin.gallery-images.index') ]) @endforeach @endif