2 <main class="content-wrap mt-m card">
4 <div class="grid half v-center">
5 <h1 class="list-heading">{{ trans('entities.shelves') }}</h1>
6 <div class="text-right">
7 @include('partials.sort', ['options' => $sortOptions, 'order' => $order, 'sort' => $sort, 'type' => 'bookshelves'])
11 @if(count($shelves) > 0)
13 <div class="entity-list">
14 @foreach($shelves as $index => $shelf)
18 @include('shelves.list-item', ['shelf' => $shelf])
22 <div class="grid third">
23 @foreach($shelves as $key => $shelf)
24 @include('shelves.grid-item', ['shelf' => $shelf])
29 {!! $shelves->render() !!}
32 <p class="text-muted">{{ trans('entities.shelves_empty') }}</p>
33 @if(userCan('bookshelf-create-all'))
34 <a href="{{ url("/create-shelf") }}" class="button outline">@icon('edit'){{ trans('entities.create_now') }}</a>