@extends('layouts.tri') @section('body') @include('shelves.parts.list', ['shelves' => $shelves, 'view' => $view, 'listOptions' => $listOptions]) @stop @section('right')
{{ trans('common.actions') }}
@if(userCan('bookshelf-create-all')) @icon('add') {{ trans('entities.shelves_new_action') }} @endif @include('entities.view-toggle', ['view' => $view, 'type' => 'shelves']) @icon('tag') {{ trans('entities.tags_view_tags') }}
@stop @section('left') @if($recents)
{{ trans('entities.recently_viewed') }}
@include('entities.list', ['entities' => $recents, 'style' => 'compact'])
@endif
{{ trans('entities.shelves_new') }}
@if(count($new) > 0) @include('entities.list', ['entities' => $new, 'style' => 'compact']) @else
{{ trans('entities.shelves_new_empty') }}
@endif
@stop