{{-- Flash Messages --}}
@if (session()->has('message'))
@endif
{{-- View Section --}}
@if($viewMode && $cryptoToView)
@endif
{{-- Table Section --}}
{{-- Filters --}}
{{-- Table --}}
{{-- Pagination --}}
{{ session('message') }}
@endif
{{-- Add More Button --}}
@if(!$formMode && !$viewMode)
@endif
{{-- Form Section (toggle with Add More) --}}
@if($formMode)
{{ $updateMode ? 'Edit News' : 'Add News' }}
Crypto News Details
@include('livewire.admin.partials.crypto-news-view')
All News
| SR No. | Image | Title | Author | Uploaded At | Published At | News Type | SEO Check | Actions |
|---|---|---|---|---|---|---|---|---|
| {{ $cryptos->firstItem() + $index }} |
@if($crypto->image)
|
{{ $crypto->title }}
|
{{ $crypto->postAuthor->dispaly_name ?? 'N/A' }} | {{ $crypto->created_at ? $crypto->created_at->format('d M Y h:i A') : 'N/A' }} | {{ $crypto->publishedAt ? date('d M Y h:i A', $crypto->publishedAt) : 'N/A' }} | @switch($crypto->is_gabbar) @case(1) News @break @case(2) Press Release @break @case(3) Sponsored @break @case(4) Guest News @break @case(5) Blog @break @case(6) Crypto News @break @default Draft @endswitch | @if($crypto->is_seo_check) Yes @else No @endif |
|
|
No records found |
||||||||
{{ $cryptos->links() }}