X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/41f56e659dfb82b2a8750dcfb62ea2e51c9a9ec6..refs/pull/5312/head:/resources/views/comments/comments.blade.php diff --git a/resources/views/comments/comments.blade.php b/resources/views/comments/comments.blade.php index a0fd518f6..48bf885ff 100644 --- a/resources/views/comments/comments.blade.php +++ b/resources/views/comments/comments.blade.php @@ -1,37 +1,46 @@ -
{{ trans_choice('entities.comment_count', count($page->comments), ['count' => count($page->comments)]) }}
+{{ trans_choice('entities.comment_count', $commentTree->count(), ['count' => $commentTree->count()]) }}
+ @if ($commentTree->empty() && userCan('comment-create-all')) +