1 <div page-comments page-id="{{ $page->id }}" class="comments-list">
2 <div comment-count-bar class="grid half left-focus v-center">
3 <h5 comments-title>{{ trans_choice('entities.comment_count', count($page->comments), ['count' => count($page->comments)]) }}</h5>
4 @if (count($page->comments) === 0)
5 <div class="text-right" comment-add-button-container>
6 <button type="button" action="addComment"
7 class="button outline">{{ trans('entities.comment_add') }}</button>
12 <div class="comment-container" comment-container>
13 @foreach($page->comments as $comment)
14 @include('comments.comment', ['comment' => $comment])
18 @if(userCan('comment-create-all'))
19 @include('comments.create')
22 @if (count($page->comments) > 0)
23 <div class="text-right" comment-add-button-container>
24 <button type="button" action="addComment"
25 class="button outline">{{ trans('entities.comment_add') }}</button>