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', ['options' => $sortOptions, 'order' => $order, 'sort' => $sort, 'type' => 'bookshelves'])
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 <a href="{{ url("/create-shelf") }}"
34 class="button outline">@icon('edit'){{ trans('entities.create_now') }}</a>