BookStack/resources/views/comments/comments.blade.php
2019-04-13 10:50:24 +01:00

14 lines
494 B
PHP

<div page-comments page-id="{{ $page->id }}" class="comments-list">
<h5 comments-title>{{ trans_choice('entities.comment_count', count($page->comments), ['count' => count($page->comments)]) }}</h5>
<div class="comment-container" comment-container>
@foreach($page->comments as $comment)
@include('comments.comment', ['comment' => $comment])
@endforeach
</div>
@if(userCan('comment-create-all'))
@include('comments.create')
@endif
</div>