X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/c3ea0d333e869975e49bf6da4165c9e0f6b0d2fa..refs/pull/806/head:/resources/views/comments/comments.blade.php diff --git a/resources/views/comments/comments.blade.php b/resources/views/comments/comments.blade.php index 107052e87..3d7763e22 100644 --- a/resources/views/comments/comments.blade.php +++ b/resources/views/comments/comments.blade.php @@ -1,19 +1,40 @@ -@section('head') - -@stop - - -
-

@{{vm.totalCommentsStr}}

-
-
-
- -
+
+

{{ trans_choice('entities.comment_count', count($page->comments), ['count' => count($page->comments)]) }}

+ +
+ @foreach($page->comments as $comment) + @include('comments.comment', ['comment' => $comment]) + @endforeach
-
-@include('comments/add', ['pageId' => $pageId]) \ No newline at end of file + + + @if(userCan('comment-create-all')) + + + +
+ +
+ @endif + +
\ No newline at end of file