mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-10-01 01:36:00 -04:00
154924cc0c
Split out comment component code so single-comment actions (delete, edit) are handled within their own compontent. Modernised existing component code.
17 lines
595 B
PHP
17 lines
595 B
PHP
<div class="comment-branch">
|
|
<div class="mb-m">
|
|
@include('comments.comment', ['comment' => $branch['comment']])
|
|
</div>
|
|
@if(count($branch['children']) > 0)
|
|
<div class="flex-container-row">
|
|
<div class="pb-m">
|
|
<div class="comment-thread-indicator fill-height"></div>
|
|
</div>
|
|
<div class="flex">
|
|
@foreach($branch['children'] as $childBranch)
|
|
@include('comments.comment-branch', ['branch' => $childBranch])
|
|
@endforeach
|
|
</div>
|
|
</div>
|
|
@endif
|
|
</div> |