@extends('layouts.admin.app') @section('content')
@include('admin.partials.webmaster_announcement')
@foreach ($posts as $post) @endforeach
{{ __('Post #') }} Image Status Title Datetime Actions
{{ $post->id }} @if (!is_empty($post->featured_image)) @else
?
@endif
@if ($post->status === 'publish') {{ ucfirst($post->status) }} @elseif($post->status === 'future') {{ ucfirst($post->status) }} @elseif($post->status === 'draft') {{ ucfirst($post->status) }} @elseif($post->status === 'private') {{ ucfirst($post->status) }} @elseif ($post->status == 'trash') {{ ucfirst($post->status) }} @else {{ ucfirst($post->status) }} @endif @if (!is_empty($post->post_category?->category?->country_locale_slug) && $post->status == 'publish') {{ $post->title }} @else {{ $post->title }} @endif
@if ($post->status == 'publish') Published at {{ $post->publish_date->timezone(session()->get('timezone'))->isoFormat('Do MMMM YYYY, h:mm A') }} @endif
Created at {{ $post->created_at->timezone(session()->get('timezone'))->isoFormat('Do MMMM YYYY, h:mm A') }}
Updated {{ $post->updated_at->diffForhumans() }}
@if ($post->status == 'publish') Index to Search Engines @endif @if ($post->editor == 'editorjs') Edit @else Edit (Disabled) @endif @if ($post->status == 'trash') Delete Forever @endif
@if ($posts->hasPages()) @endif
@endsection