@php($title = 'Wisata') @extends('admin.layout', ['title' => $title]) @section('content')
| Gambar | Nama | Kategori | Status | Update Terakhir | Aksi |
|---|---|---|---|---|---|
|
@php($images = is_array($d->images) ? $d->images : [])
@if(count($images))
@php($imagePath = $images[0])
@if(Str::startsWith($imagePath, 'http'))
@else
|
{{ $d->name }}
{{ $d->slug }}
|
{{ $d->category?->name ?? '-' }} |
@if($d->is_published)
Published
@else
Draft
@endif
@if($d->is_featured)
Unggulan
@endif
|
{{ $d->updated_at?->format('d/m/Y H:i') ?? '-' }} |