1 @extends('layouts.tri')
4 @include('shelves.parts.list', ['shelves' => $shelves, 'view' => $view, 'listOptions' => $listOptions])
9 <div class="actions mb-xl">
10 <h5>{{ trans('common.actions') }}</h5>
11 <div class="icon-list text-primary">
12 @if(userCan('bookshelf-create-all'))
13 <a href="{{ url("/create-shelf") }}" data-shortcut="new" class="icon-list-item">
14 <span>@icon('add')</span>
15 <span>{{ trans('entities.shelves_new_action') }}</span>
19 @include('entities.view-toggle', ['view' => $view, 'type' => 'shelves'])
21 <a href="{{ url('/tags') }}" class="icon-list-item">
22 <span>@icon('tag')</span>
23 <span>{{ trans('entities.tags_view_tags') }}</span>
32 <div id="recents" class="mb-xl">
33 <h5>{{ trans('entities.recently_viewed') }}</h5>
34 @include('entities.list', ['entities' => $recents, 'style' => 'compact'])
38 <div id="popular" class="mb-xl">
39 <h5>{{ trans('entities.shelves_popular') }}</h5>
40 @if(count($popular) > 0)
41 @include('entities.list', ['entities' => $popular, 'style' => 'compact'])
43 <div class="text-muted">{{ trans('entities.shelves_popular_empty') }}</div>
47 <div id="new" class="mb-xl">
48 <h5>{{ trans('entities.shelves_new') }}</h5>
50 @include('entities.list', ['entities' => $new, 'style' => 'compact'])
52 <div class="text-muted">{{ trans('entities.shelves_new_empty') }}</div>