@extends('web.default.panel.layouts.panel_layout') @push('styles_top') @endpush @section('content')

{{ trans('panel.filter_comments') }}

{{ trans('update.blog_comments_list') }}

@if(!empty($comments) and !$comments->isEmpty())
@foreach($comments as $comment) @endforeach
{{ trans('panel.user') }} {{ trans('admin/main.post') }} {{ trans('panel.comment') }} {{ trans('public.status') }} {{ trans('public.date') }}
{{ $comment->user->full_name }}
{{ $comment->blog->title }} @if($comment->status == 'active') {{ trans('public.active') }} @else {{ trans('public.pending') }} @endif {{ dateTimeFormat($comment->created_at,'j M Y | H:i') }}
@else @include(getTemplate() . '.includes.no-result',[ 'file_name' => 'comment.png', 'title' => trans('panel.comments_no_result'), 'hint' => nl2br(trans('panel.comments_no_result_hint')) , ]) @endif
{{ $comments->appends(request()->input())->links('vendor.pagination.panel') }}
@endsection @push('scripts_bottom') @endpush