@extends('layouts.admin') @section('title', __('Comment Details')) @section('content')

{{ __('Comment Details') }}

{{ __('View and manage comment details') }}

{{ __('Back to Comments') }}
{{ __('Comment Information') }}
{{ __('Author Information') }}

{{ __('Name') }}: {{ $comment->author_display_name }}

{{ __('Email') }}: {{ $comment->author_email }}

@if($comment->author_website)

{{ __('Website') }}: {{ $comment->author_website }}

@endif @if($comment->user)

{{ __('Registered User') }}: {{ __('Yes') }}

@endif
{{ __('Comment Details') }}

{{ __('Status') }}: {{ ucfirst($comment->status) }}

{{ __('Date') }}: {{ $comment->created_at->format('Y-m-d H:i:s') }}

{{ __('IP Address') }}: {{ $comment->ip_address }}

{{ __('User Agent') }}: {{ Str::limit($comment->user_agent, 50) }}


{{ __('Comment Content') }}
{!! nl2br(e($comment->content)) !!}
@if($comment->blog)
{{ __('Related Blog Post') }}

{{ __('Title') }}: {{ $comment->blog->title }}

{{ __('Author') }}: {{ $comment->blog->author->name ?? __('Unknown') }}

{{ __('Published') }}: {{ $comment->blog->published_at ? $comment->blog->published_at->format('Y-m-d H:i') : __('Not published') }}

@endif
{{ __('Edit Comment') }}
@csrf @method('PUT')
{{ __('Quick Actions') }}
@if($comment->status !== 'approved') @endif @if($comment->status !== 'spam') @endif
{{ __('Comment Statistics') }}
{{ $comment->likes_count }}
{{ __('Likes') }}
{{ $comment->replies->count() }}
{{ __('Replies') }}
@if($comment->replies->count() > 0)
{{ __('Replies') }} ({{ $comment->replies->count() }})
@foreach($comment->replies as $reply)
{{ $reply->created_at->format('Y-m-d H:i') }}
{{ $reply->author_display_name }}
{{ Str::limit(strip_tags($reply->content), 100) }}
{{ ucfirst($reply->status) }}
@endforeach
@endif
@endsection @section('scripts') @endsection