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

@if(count($shelves) > 0) @if($shelvesViewType === 'grid')
@foreach($shelves as $key => $shelf) @include('shelves/grid-item', ['bookshelf' => $shelf]) @endforeach
@else @foreach($shelves as $shelf) @include('shelves/list-item', ['bookshelf' => $shelf])
@endforeach @endif
{!! $shelves->render() !!}
@else

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

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