2 <div class="container{{ $shelvesViewType === 'list' ? ' small' : '' }}">
3 <h1>{{ trans('entities.shelves') }}</h1>
4 @if(count($shelves) > 0)
5 @if($shelvesViewType === 'grid')
6 <div class="grid third">
7 @foreach($shelves as $key => $shelf)
8 @include('shelves/grid-item', ['bookshelf' => $shelf])
12 @foreach($shelves as $shelf)
13 @include('shelves/list-item', ['bookshelf' => $shelf])
18 {!! $shelves->render() !!}
21 <p class="text-muted">{{ trans('entities.shelves_empty') }}</p>
22 @if(userCan('bookshelf-create-all'))
23 <a href="{{ baseUrl("/create-shelf") }}" class="button outline">@icon('edit'){{ trans('entities.create_now') }}</a>