@extends('admin.layout', ['navType' => $type]) @section('title', ['page' => 'Pages', 'post' => 'Posts & news', 'layout' => 'Header, footer & popups', 'system' => '404 & search pages'][$type]) @section('content')
@if (in_array($type, ['page', 'post'])) @endif
@if(in_array($type, ['page','post']))@endif @forelse ($pages as $p) @if(in_array($type, ['page','post']))@endif @empty @endforelse
TitleAddressStatus{{ $type === 'post' ? 'Published' : 'Updated' }}
{{ $p->title }} @if ($p->path === '')Homepage@endif @if ($p->edited_count){{ $p->edited_count }} edited@endif @if (in_array($p->id, $draftIds))Unpublished changes@endif @if (in_array($p->type, ['page','post']) && ! $p->meta_description)SEO@endif @if ($p->path !== null)/{{ $p->path }}{{ $p->path !== '' ? '/' : '' }}@else{{ $p->typeLabel() }}@endifstatus])>{{ ucfirst($p->status) }}{{ $type === 'post' ? $p->published_at?->format('d M Y') : $p->updated_at->format('d M Y') }} @include('admin._icon', ['i' => 'wand'])Visual editor @include('admin._icon', ['i' => 'settings'])Settings @if ($p->path !== null)@include('admin._icon', ['i' => 'external'])@endif
Nothing found.
{{ $pages->links() }} @endsection