X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/a602cdf401b9d48f9b7d67de4240a3e127e51fe1..refs/pull/5725/head:/resources/views/comments/comments.blade.php diff --git a/resources/views/comments/comments.blade.php b/resources/views/comments/comments.blade.php index cfc89340d..a5f0168a5 100644 --- a/resources/views/comments/comments.blade.php +++ b/resources/views/comments/comments.blade.php @@ -1,29 +1,80 @@ -
{{ trans_choice('entities.comment_count', count($page->comments), ['count' => count($page->comments)]) }}
- @if (count($page->comments) === 0) -{{ trans('entities.comment_none') }}
+ + @if(userCan('comment-create-all')) + @include('comments.create') + @if (!$commentTree->empty()) +{{ trans('entities.comment_none') }}
+