View All Comments

{{count($comments)}} Comments

@forelse($comments as $key => $comment)
profile
{{$comment->createdBy->name}}

{{$comment->created_at->diffForHumans()}}

@forelse($comment->mentionedMember as $key => $commentMentionedMember) {{ '@'.$commentMentionedMember->user->name }} @empty @endforelse {{$comment->description}}

{{count($comment->replies) ?? 0}} reply

@can('create_comment')
@endcan
@forelse($comment->replies as $key => $reply)
profile
{{$reply->createdBy->name}}

{{$reply->created_at->diffForHumans()}}

@forelse($reply->mentionedMember as $key => $replyMentionedMember) {{ '@'.$replyMentionedMember->user->name }} @empty @endforelse {{$reply->description}}

@can('delete_comment') @endcan
@empty @endforelse
@can('delete_comment') @endcan
@empty @endforelse
@can('create_comment')
@csrf
X
@endcan