@extends('admin.layouts.app') @section('content')

{{ $pageTitle }}

{{ trans('admin/main.total_comments') }}

{{ $totalComments }}

{{ trans('admin/main.published_comments') }}

{{ $publishedComments }}

{{ trans('admin/main.pending_comments') }}

{{ $pendingComments }}

{{ trans('admin/main.comments_reports') }}

{{ $commentReports }}
@if($page == 'webinars')
@elseif($page == 'bundles')
@elseif($page == 'blog')
@elseif($page == 'products')
@endif
@if($page == 'webinars') @elseif($page == 'bundles') @elseif($page == 'blog') @elseif($page == 'products') @endif @foreach($comments as $comment) @endforeach
{{ trans('admin/main.comment') }} {{ trans('admin/main.created_date') }} {{ trans('admin/main.user') }}{{ trans('admin/main.class') }}{{ trans('update.bundle') }}{{ trans('admin/main.blog') }}{{ trans('update.product') }}{{ trans('admin/main.type') }} {{ trans('admin/main.status') }} {{ trans('admin/main.action') }}
{{ dateTimeFormat($comment->created_at, 'j M Y | H:i') }} {{ $comment->user->full_name }} {{ $comment->$itemRelation->title }} {{ (empty($comment->reply_id)) ? trans('admin/main.main_comment') : trans('admin/main.replied') }} {{ ($comment->status == 'pending') ? trans('admin/main.pending') : trans('admin/main.published') }} @can('admin_comments_status') @if($comment->status == 'pending') @else @endif @endcan @can('admin_comments_reply') @endcan @can('admin_comments_edit') @endcan @can('admin_comments_delete') @include('admin.includes.delete_button',['url' => getAdminPanelUrl().'/comments/'. $page .'/'.$comment->id.'/delete','btnClass' => '']) @endcan
@endsection @push('scripts_bottom') @endpush