@adminCan('blog.comment.update')
@endadminCan
| {{ __('SN') }} | {{ __('Comment') }} | {{ __('Post') }} | {{ __('Author') }} | {{ __('Email') }} | @adminCan('blog.comment.update'){{ __('Status') }} | @endadminCan @if (checkAdminHasPermission('blog.comment.view') || checkAdminHasPermission('blog.comment.delete') || checkAdminHasPermission('blog.comment.replay')){{ __('Action') }} | @endif
|---|---|---|---|---|---|---|
| {{ $loop->index + 1 }} | {{ Str::limit($comment?->comment, 30, '...') }} | {{ $comment?->post?->title }} | {{ $comment?->name }} @if ($comment?->is_admin) {{ __('Admin') }} @endif | {{ $comment?->email }} | @adminCan('blog.comment.update')status ? 'checked' : '' }} data-toggle="toggle" data-onlabel="{{ __('Active') }}" data-offlabel="{{ __('Inactive') }}" data-onstyle="success" data-offstyle="danger"> | @endadminCan @if (checkAdminHasPermission('blog.comment.view') || checkAdminHasPermission('blog.comment.delete') || checkAdminHasPermission('blog.comment.replay'))@adminCan('blog.comment.view') @endadminCan @adminCan('blog.comment.delete') @endadminCan @adminCan('blog.comment.replay') @endadminCan | @endif
{{ $comments->onEachSide(3)->links() }}