| Current Path : /var/www/html/bookstack/storage/framework/views/ |
| Current File : /var/www/html/bookstack/storage/framework/views/381e8437fac5ea01dd3bd44401b453ccd47c159c.php |
<a href="<?php echo e($chapter->getUrl()); ?>" class="chapter entity-list-item <?php if($chapter->visible_pages->count() > 0): ?> has-children <?php endif; ?>" data-entity-type="chapter" data-entity-id="<?php echo e($chapter->id); ?>">
<span class="icon text-chapter"><?php echo icon('chapter'); ?></span>
<div class="content">
<h4 class="entity-list-item-name break-text"><?php echo e($chapter->name); ?></h4>
<div class="entity-item-snippet">
<p class="text-muted break-text mb-s"><?php echo e($chapter->getExcerpt()); ?></p>
</div>
</div>
</a>
<?php if($chapter->visible_pages->count() > 0): ?>
<div class="chapter chapter-expansion">
<span class="icon text-chapter"><?php echo icon('page'); ?></span>
<div class="content">
<button type="button" chapter-toggle
aria-expanded="false"
class="text-muted chapter-expansion-toggle"><?php echo icon('caret-right'); ?> <span><?php echo e(trans_choice('entities.x_pages', $chapter->visible_pages->count())); ?></span></button>
<div class="inset-list">
<div class="entity-list-item-children">
<?php echo $__env->make('entities.list', ['entities' => $chapter->visible_pages], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
</div>
</div>
</div>
</div>
<?php endif; ?><?php /**PATH /var/www/html/bookstack/resources/views/chapters/parts/list-item.blade.php ENDPATH**/ ?>