|
Author
@if($sortField === 'user_id')
@endif
|
Comment
@if($sortField === 'body')
@endif
|
Date
@if($sortField === 'created_at')
@endif
|
Actions | |
|---|---|---|---|---|
|
@if($comment->user)
{{ $comment->user->name }}
@if($comment->user->hasRole(\App\Enums\UserRole::BANNED))
Banned
@endif
@else
Unknown
@endif
|
{{ $comment->body }} {{ $comment->body }} @if(strlen($comment->body) > 150) @endif |
{{ $comment->created_at->diffForHumans() }} |
@if($comment->user && !$comment->user->hasRole(\App\Enums\UserRole::BANNED))
@endif
|
|
|
No comments found matching your filters. |
||||