@extends('admin.layouts.master') @section('title', __('Manage Pages')) @section('content')

{{ __('Manage Pages') }}

{{ __('List of pages that you can manage / edit.') }}

{{ __('All Pages') }} @if(request()->filled('query')) {{ (__('Results for') .' "'. (request()->get('query') ?? ''). '"') }} @endif
@if(filled($pages)) 'Are you sure to delete page?', 'msg' => 'This change is not reversible !', 'buttonText' => 'Delete' ])'>
{{ __('Title / Name') }}
{{ __('Menu Name') }}
{{ __('SEO Data') }}
{{ __('Visibility') }}
{{ __('Status') }}
 
@foreach($pages as $page)
{{ data_get($page, 'menu_name') }}
{{ empty(array_filter(data_get($page, 'seo', []))) ? __('No') : __('Yes') }}
{{ data_get($page, 'public') == $iState->YES ? __('Public') : __('Restrict')}}
{{ data_get($page, 'status') == $iStatus->ACTIVE ? __('Active') : __('Inactive')}}
@endforeach
@if(filled($pages) && $pages->hasPages())
{{ $pages->appends(request()->all())->links('misc.pagination') }}
@endif @else
@if(request()->filled('query'))
{{ __('Nothing Found!') }}

{{ __("It seems we can't find what you're looking for. Maybe try another search.") }}

@else
{{ __('We did not find any page here.') }} {{ __('Add New Page') }}
@endif
@endif
@endsection @push('scripts') @endpush