2 <div class="content-wrap card">
3 {{--TODO - Create unique list item--}}
5 <div class="grid half v-center">
6 <h1 class="list-heading">{{ trans('entities.shelves') }}</h1>
7 <div class="text-right">
8 @include('partials.sort', ['options' => $sortOptions, 'order' => $order, 'sort' => $sort, 'type' => 'bookshelves'])
12 @if(count($shelves) > 0)
14 <div class="entity-list">
15 @foreach($shelves as $shelf)
16 @include('shelves.list-item', ['shelf' => $shelf])
20 <div class="grid third">
21 @foreach($shelves as $key => $shelf)
22 @include('shelves.grid-item', ['shelf' => $shelf])
27 {!! $shelves->render() !!}
30 <p class="text-muted">{{ trans('entities.shelves_empty') }}</p>
31 @if(userCan('bookshelf-create-all'))
32 <a href="{{ baseUrl("/create-shelf") }}" class="button outline">@icon('edit'){{ trans('entities.create_now') }}</a>