@component('backoffice._layouts.app', [ 'title' => 'Pages' ]) @component('backoffice._components.pageHeading', ['breadcrumb' => null]) Pages @slot('actions') Add entry @endslot @endcomponent @component('backoffice._components.pageContent')
{{-- --}} @foreach($models as $page) {{-- --}} @endforeach
Name ParentTechnical nameUpdated
{{ html()->publishedIndicator($page->published_at) }} {{ ($page->first_translated_name) ?: '(untitled)' }} @if($page->hasParent())
{{ $page->parent()->first()->name }}
@endif
{{ $page->technical_name }} {{ diff_date_for_humans($page->updated_at) }} {{ html()->viewButton($page->path()) }} {{ html()->editButton(route('backoffice.pages.edit', $page->id)) }} @if(! $page->isTechnicalPage()) {{ html()->deleteButton(action('Backoffice\PagesController@destroy', $page->id)) }} @endif
@endcomponent @endcomponent