@extends('layouts.admin') @section('content')
@if(count($publications) > 0)
@if (isset($searchTerm)) {{ __('All Posts') }} @endif @error('searchTerm') {{ $message }} @enderror
Add New Article
{{-- --}} @foreach ($publications as $value) {{-- --}} @endforeach
Image Title Category Author Date PublishedApproved By Approved AtStatus Is Featured Comments # Action
Thumbnail {{ Str::of($value->title)->limit(50) }} {{ $value->category->name }} {{ $value->author }} {{ Helper::dateFormatter($value->publication_date_status) }}{{ $value->approved_by }} {{ $value->approved_at ?? 'Pending' }}{!! $value->status_text !!} {{ ($value->is_featured == 1 ? 'Yes' : 'No') }} {{ $value->comments->count() }}
Showing {{ $publications->firstItem() }} to {{ $publications->lastItem() }} of total {{$publications->total() }} entries {{ $publications->withQueryString()->links() }}
@else

There are no publications yet.

All publications like blogs, news, events will show up here. Add new article
@endif
@endsection @section('modals') @endsection @push('scripts') @endpush