]> BookStack Code Mirror - bookstack/blobdiff - resources/views/pages/show.blade.php
Comments: Updated reply-to and general styling
[bookstack] / resources / views / pages / show.blade.php
index 2cbc7fe470bd807517a472e385ba1d66c0ce2dae..ae6b273fe4fe1d208a2d0eade98e0933d67f7392 100644 (file)
 
     @include('entities.sibling-navigation', ['next' => $next, 'previous' => $previous])
 
-    @if ($commentsEnabled)
+    @if ($commentTree->enabled())
         @if(($previous || $next))
             <div class="px-xl">
                 <hr class="darker">
             </div>
         @endif
 
-        <div class="px-xl comments-container mb-l print-hidden">
-            @include('comments.comments', ['page' => $page])
+        <div class="comments-container mb-l print-hidden">
+            @include('comments.comments', ['commentTree' => $commentTree, 'page' => $page])
             <div class="clearfix"></div>
         </div>
     @endif