@extends('back-end.master.app') @section('title', 'Post Details') @section('body')

Post Details

Back to List
{{-- Post Image --}} @if($post->image && $post->image != 'image/noimage.jpg')
{{ $post->title }}
@endif {{-- Post Info Table --}}
Title {{ $post->title }}
Category {{ $post->category->title_en ?? '-' }}
Language {{ $post->language->title_en ?? '-' }}
Date {{ $post->date }}
Status @if($post->status == 1) Published @else Draft @endif
{{-- Post Body --}}
Content
{!! $post->body !!}
{{-- Comments Section --}}
Comments ({{ $comments->count() }})
@if($comments->count() > 0) @foreach($comments as $comment) @endforeach
# Name Email Message Status Actions
{{ $loop->iteration }} {{ $comment->name }} {{ $comment->email }} {{ Str::limit($comment->message, 50) }} @if($comment->seen_status) Seen @else Pending @endif @if(!$comment->seen_status) @endif
@csrf @method('DELETE')
@else

No comments yet.

@endif
@endsection @section('pageJs') @endsection