@php $commentHtml = $comment->safeHtml(); @endphp
@if ($comment->createdBy)
{{ $comment->createdBy->name }}
@endif
@if ($comment->createdBy) {{ $comment->createdBy->getShortName(16) }} @else {{ trans('common.deleted_user') }} @endif  {{ trans('entities.comment_created', ['createDiff' => $dates->relative($comment->created_at) ]) }} @if($comment->isUpdated()) {{ trans('entities.comment_updated_indicator') }} @endif
@if(!$readOnly && (userCan(\BookStack\Permissions\Permission::CommentCreateAll) || userCan(\BookStack\Permissions\Permission::CommentUpdate, $comment) || userCan(\BookStack\Permissions\Permission::CommentDelete, $comment)))
@if(userCan(\BookStack\Permissions\Permission::CommentCreateAll)) @endif @if(!$comment->parent_id && (userCan(\BookStack\Permissions\Permission::CommentUpdate, $comment) || userCan(\BookStack\Permissions\Permission::CommentDelete, $comment))) @endif @if(userCan(\BookStack\Permissions\Permission::CommentUpdate, $comment)) @endif @if(userCan(\BookStack\Permissions\Permission::CommentDelete, $comment)) @endif  • 
@endif
#{{$comment->local_id}}
@if ($comment->parent_id)

@icon('reply'){{ trans('entities.comment_in_reply_to', ['commentId' => '#' . $comment->parent_id]) }}

@endif @if($comment->content_ref) @endif {!! $commentHtml !!}
@if(!$readOnly && userCan(\BookStack\Permissions\Permission::CommentUpdate, $comment)) @endif