Your IP : 216.73.216.79


Current Path : /var/www/html/bookstack/storage/framework/views/
Upload File :
Current File : /var/www/html/bookstack/storage/framework/views/e4bb6e29436d03033058c2d3aea550e5ab8d1f9c.php

<main class="content-wrap mt-m card">

    <div class="grid half v-center">
        <h1 class="list-heading"><?php echo e(trans('entities.shelves')); ?></h1>
        <div class="text-right">
            <?php echo $__env->make('entities.sort', ['options' => $sortOptions, 'order' => $order, 'sort' => $sort, 'type' => 'bookshelves'], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
        </div>
    </div>

    <?php if(count($shelves) > 0): ?>
        <?php if($view === 'list'): ?>
            <div class="entity-list">
                <?php $__currentLoopData = $shelves; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $index => $shelf): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                    <?php if($index !== 0): ?>
                        <hr class="my-m">
                    <?php endif; ?>
                    <?php echo $__env->make('shelves.parts.list-item', ['shelf' => $shelf], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
            </div>
        <?php else: ?>
            <div class="grid third">
                <?php $__currentLoopData = $shelves; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $shelf): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                    <?php echo $__env->make('entities.grid-item', ['entity' => $shelf], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
            </div>
        <?php endif; ?>
        <div>
            <?php echo $shelves->render(); ?>

        </div>
    <?php else: ?>
        <p class="text-muted"><?php echo e(trans('entities.shelves_empty')); ?></p>
        <?php if(userCan('bookshelf-create-all')): ?>
            <a href="<?php echo e(url("/create-shelf")); ?>" class="button outline"><?php echo icon('edit'); ?><?php echo e(trans('entities.create_now')); ?></a>
        <?php endif; ?>
    <?php endif; ?>

</main>
<?php /**PATH /var/www/html/bookstack/resources/views/shelves/parts/list.blade.php ENDPATH**/ ?>