]> BookStack Code Mirror - bookstack/blob - resources/views/comments/comment-branch.blade.php
d64dd4ade1d51c5055ef52d623d039fac26da1f0
[bookstack] / resources / views / comments / comment-branch.blade.php
1 <div>
2     <div class="mb-m">
3         @include('comments.comment', ['comment' => $branch['comment']])
4     </div>
5     @if(count($branch['children']) > 0)
6         <div class="flex-container-row">
7             <div class="pb-m">
8                 <div class="comment-thread-indicator fill-height"></div>
9             </div>
10             <div class="flex">
11                 @foreach($branch['children'] as $childBranch)
12                     @include('comments.comment-branch', ['branch' => $childBranch])
13                 @endforeach
14             </div>
15         </div>
16     @endif
17 </div>