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

@include('common.sort', $listOptions->getSortControlData())
@if(count($shelves) > 0) @if($view === 'list')
@foreach($shelves as $index => $shelf) @if ($index !== 0)
@endif @include('shelves.parts.list-item', ['shelf' => $shelf]) @endforeach
@else
@foreach($shelves as $key => $shelf) @include('entities.grid-item', ['entity' => $shelf]) @endforeach
@endif
{!! $shelves->render() !!}
@else

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

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