X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/8c21b5345d42d8f918f2e949a8bdb4756382db2a..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 bc42e0a0c..a5f0168a5 100644 --- a/resources/views/comments/comments.blade.php +++ b/resources/views/comments/comments.blade.php @@ -1,40 +1,80 @@ -{{--TODO--}} -
-
{{ trans_choice('entities.comment_count', count($page->comments), ['count' => count($page->comments)]) }}
+
-
- @foreach($page->comments as $comment) - @include('comments.comment', ['comment' => $comment]) - @endforeach +
+
+ + +
+ @if ($commentTree->empty() && userCan('comment-create-all')) +
+ +
+ @endif
- @if(userCan('comment-create-all')) - - \ No newline at end of file +
\ No newline at end of file