X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/ecda4e1d6f42108fef9c62ff4a9a73a056caa089..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 7cc84a54c..d70a8c1d9 100644 --- a/resources/views/comments/comment.blade.php +++ b/resources/views/comments/comment.blade.php @@ -4,13 +4,9 @@
@@ -41,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 @@ -79,7 +81,12 @@ @endif @if($comment->content_ref)
- @icon('bookmark')Reference - Outdated + @icon('bookmark'){{ trans('entities.comment_reference') }} {{ trans('entities.comment_reference_outdated') }}
@endif {!! $commentHtml !!}