]> BookStack Code Mirror - bookstack/blob - resources/views/comments/comments.blade.php
Removes some unused code.
[bookstack] / resources / views / comments / comments.blade.php
1 <div id="page-comments" page-id="<?= $page->id ?>" class="comments-list" v-cloak>
2   <h3>@{{totalCommentsStr}}</h3>
3   <hr>
4   <comment v-for="(comment, index) in comments" :initial-comment="comment" :index="index" :level=1
5      v-on:comment-added.stop="commentAdded"
6      :current-user-id="currentUserId" :key="comment.id" :permissions="permissions"></comment>
7   <div v-if="canComment">
8      <comment-reply v-on:comment-added.stop="commentAdded" :page-id="<?= $page->id ?>">
9      </comment-reply>
10   </div>
11 </div>