1 <main class="content-wrap mt-m card">
3 <div class="grid half v-center">
4 <h1 class="list-heading">{{ trans('entities.shelves') }}</h1>
5 <div class="text-right">
6 @include('common.sort', $listOptions->getSortControlData())
10 @if(count($shelves) > 0)
12 <div class="entity-list">
13 @foreach($shelves as $index => $shelf)
17 @include('shelves.parts.list-item', ['shelf' => $shelf])
21 <div class="grid third">
22 @foreach($shelves as $key => $shelf)
23 @include('entities.grid-item', ['entity' => $shelf])
28 {!! $shelves->render() !!}
31 <p class="text-muted">{{ trans('entities.shelves_empty') }}</p>
32 @if(userCan('bookshelf-create-all'))
33 <div class="icon-list block inline">
34 <a href="{{ url("/create-shelf") }}"
35 class="icon-list-item text-bookshelf">
36 <span>@icon('add')</span>
37 <span>{{ trans('entities.create_now') }}</span>