X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/06901b878f2c8057a6f9b7d2e0adfda425c68dee..refs/pull/5663/head:/resources/views/comments/comment.blade.php diff --git a/resources/views/comments/comment.blade.php b/resources/views/comments/comment.blade.php index b507a810b..eadf35187 100644 --- a/resources/views/comments/comment.blade.php +++ b/resources/views/comments/comment.blade.php @@ -4,9 +4,9 @@
 {{ trans('entities.comment_created', ['createDiff' => $comment->created]) }} +  {{ trans('entities.comment_created', ['createDiff' => $comment->created_at->diffForHumans() ]) }} @if($comment->isUpdated()) @@ -38,6 +38,12 @@ @if(userCan('comment-create-all')) @endif + @if(!$comment->parent_id && (userCan('comment-update', $comment) || userCan('comment-delete', $comment))) + + @endif @if(userCan('comment-update', $comment)) @endif @@ -74,6 +80,16 @@ @icon('reply'){{ trans('entities.comment_in_reply_to', ['commentId' => '#' . $comment->parent_id]) }}

@endif + @if($comment->content_ref) + + @endif {!! $commentHtml !!}