@extends('Dashboard.layouts.master') @section('title','Posts | List') @section('css') @endsection @section('content')
{{-- permission="comments-write"--}} {{-- button_route="comments.create" button_text="Comment"/>--}}
{{-- --}} @if(count($comments) == 0) @endif @foreach ($comments as $key => $comment) {{-- --}} {{-- --}} @endforeach
No.body Created at Status Added by Actions
No data Found
{{ ++$key }}{{ $comment->text }} {{ Helper::change_timezone($comment->added_at) }}{{ $comment->added_at }}
{{ $comment->status == 1 ? 'Approved' : 'Unapproved' }}
{{ $comment?->user?->first_name . ' ' . $comment?->user?->last_name }} @can('comments-update')
@csrf @method("PUT")
@endcan @can('comments-delete')
@csrf @method("DELETE")
@endcan
@endsection @section('scripts') @endsection