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