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