X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/802f69cf35abba8ff75b0ef7bbed09bbcda62816..refs/pull/5725/head:/resources/views/comments/comment.blade.php diff --git a/resources/views/comments/comment.blade.php b/resources/views/comments/comment.blade.php index 2bf89d683..d70a8c1d9 100644 --- a/resources/views/comments/comment.blade.php +++ b/resources/views/comments/comment.blade.php @@ -4,10 +4,9 @@
@@ -38,6 +37,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 +79,16 @@ @icon('reply'){{ trans('entities.comment_in_reply_to', ['commentId' => '#' . $comment->parent_id]) }}

@endif + @if($comment->content_ref) +
+ @icon('bookmark'){{ trans('entities.comment_reference') }} {{ trans('entities.comment_reference_outdated') }} +
+ @endif {!! $commentHtml !!}