{{ trans('entities.shelves') }}

@include('partials.sort', ['options' => $sortOptions, 'order' => $order, 'sort' => $sort, 'type' => 'bookshelves'])
@if(count($shelves) > 0) @if($view === 'list')
@foreach($shelves as $index => $shelf) @if ($index !== 0)
@endif @include('shelves.list-item', ['shelf' => $shelf]) @endforeach
@else
@foreach($shelves as $key => $shelf) @include('partials.entity-grid-item', ['entity' => $shelf]) @endforeach
@endif
{!! $shelves->render() !!}
@else

{{ trans('entities.shelves_empty') }}

@if(userCan('bookshelf-create-all')) @icon('edit'){{ trans('entities.create_now') }} @endif @endif