mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-11-24 09:26:30 +08:00
11 lines
450 B
PHP
11 lines
450 B
PHP
<div id="page-comments" page-id="<?= $page->id ?>" class="comments-list" v-cloak>
|
|
<h3>@{{totalCommentsStr}}</h3>
|
|
<hr>
|
|
<comment v-for="(comment, index) in comments" :initial-comment="comment" :index="index" :level=1
|
|
v-on:comment-added.stop="commentAdded"
|
|
:key="comment.id"></comment>
|
|
<div v-if="canComment">
|
|
<comment-reply v-on:comment-added.stop="commentAdded" :page-id="<?= $page->id ?>">
|
|
</comment-reply>
|
|
</div>
|
|
</div> |