]> BookStack Code Mirror - bookstack/blob - resources/views/comments/comments.blade.php
Update/fix german translation
[bookstack] / resources / views / comments / comments.blade.php
1 <script type="text/ng-template" id="comment-list-item.html">
2     @include('comments/list-item')
3 </script>
4 <script type="text/ng-template" id="comment-reply.html">
5     @include('comments/comment-reply', ['pageId' => $pageId])
6 </script>
7 <div ng-controller="CommentListController as vm" ng-init="pageId = <?= $page->id ?>" class="comments-list" ng-cloak>
8 <h3>@{{vm.totalCommentsStr}}</h3>
9 <hr>
10     <div class="comment-box" ng-repeat="comment in vm.comments track by comment.id">
11         <div ng-include src="'comment-list-item.html'">
12
13         </div>
14     </div>
15     <div ng-if="::vm.canComment()">
16         @include('comments/comment-reply', ['pageId' => $pageId])
17     </div>
18 </div>