@extends('admin.layouts.app') @section('title') {{ __('page_list') }} @endsection @section('content')
{{ __('total_page') }} {{ @$pageHistorytotal->count() ?? '0' }}
{{-- @if (userCan('page.history.compare')) @endif --}}

{{ __('page_list') }}

@forelse ($pageHistory as $post) {{-- --}} @empty @endforelse
{{ __('Compare') }} {{ __('image') }} {{ __('event') }} {{ __('event_id') }} {{ __('modified_by') }} {{ __('title') }} {{ __('category') }} {{ __('author') }} {{ __('status') }} {{ __('create') }} {{ __('date') }} {{ __('publish') }} {{ __('date') }} {{ __('action') }}
{{ $post->event }} {{ $post->event_id }} {{ ucwords(adminIdToNameGet(@$post->modified_by)) }} {{ $post->title }} {{ @$post->category->name }} @if(!empty($post->category->parentCategory->name)) ({{ @$post->category->parentCategory->name }}) @endif {{ ucwords(adminIdToNameGet(@$post->author_id)) }} {{ $post->status }} @if(!empty($post->created_date)) {{dateMonthTimeFormat($post->created_date)}} @else -- @endif @if(!empty($post->display_date)) {{dateMonthTimeFormat($post->display_date)}} @else -- @endif {{-- --}} @if (userCan('page.history.view')) {{--  {{ __('history') }} --}}   History @endif

{{ __('no_data_found') }}...

@if ($pageHistory->count())
{{ $pageHistory->links() }}
@endif
@endsection