X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/4b9f6beb376fc6b0c31af77d96ff0842bcdd53bc..refs/pull/5592/head:/resources/views/comments/comments.blade.php diff --git a/resources/views/comments/comments.blade.php b/resources/views/comments/comments.blade.php index f50e3a218..48bf885ff 100644 --- a/resources/views/comments/comments.blade.php +++ b/resources/views/comments/comments.blade.php @@ -1,17 +1,18 @@
-
-
{{ trans_choice('entities.comment_count', $commentTree->count(), ['count' => $commentTree->count()]) }}
+
+
{{ trans_choice('entities.comment_count', $commentTree->count(), ['count' => $commentTree->count()]) }}
@if ($commentTree->empty() && userCan('comment-create-all')) -
-
@endif @@ -19,19 +20,27 @@
@foreach($commentTree->get() as $branch) - @include('comments.comment-branch', ['branch' => $branch]) + @include('comments.comment-branch', ['branch' => $branch, 'readOnly' => false]) @endforeach
@if(userCan('comment-create-all')) @include('comments.create') - @if (!$commentTree->empty())
-
@endif @endif + @if(userCan('comment-create-all') || $commentTree->canUpdateAny()) + @push('body-end') + + @include('form.editor-translations') + @include('entities.selector-popup') + @endpush + @endif +
\ No newline at end of file