]> BookStack Code Mirror - bookstack/blob - resources/views/shelves/list.blade.php
1. Fixed translation for Copy and Reply
[bookstack] / resources / views / shelves / list.blade.php
1
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])
9                 @endforeach
10             </div>
11         @else
12             @foreach($shelves as $shelf)
13                 @include('shelves/list-item', ['bookshelf' => $shelf])
14                 <hr>
15             @endforeach
16         @endif
17         <div>
18             {!! $shelves->render() !!}
19         </div>
20     @else
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>
24         @endif
25     @endif
26 </div>