| {{ ___('label.section') }} | {{ ___('label.settings') }} | {{ ___('label.status') }} | {{ ___('label.action') }} | |
|---|---|---|---|---|
{{ $item->title ?: ($type?->label() ?? $item->type) }}
@unless($type)
{{-- A row left behind by a downgrade or a disabled module. It is
skipped on the public site; showing it here is what stops it
looking like data loss. --}}
{{ ___('label.unknown_section_type') }}
@endunless
{{ $item->key }}
@if($type && $item->title) · {{ admin_label($type->label()) }} @endif
|
@forelse((array) $item->settings as $k => $v) @continue($v === null || $v === '') {{ $k }}: {{ is_bool($v) ? ($v ? 'yes' : 'no') : $v }} @empty — @endforelse | @if(hasPermission('cms_update')) {{ admin_label(ucfirst($item->status)) }} @else {{ admin_label(ucfirst($item->status)) }} @endif | ||
| {{ ___('label.home_sections_empty') }} | ||||