@extends('tri-layout') @section('body') @include('shelves.list', ['shelves' => $shelves, 'view' => $view]) @stop @section('right')
{{ trans('common.actions') }}
@include('partials.view-toggle', ['view' => $view, 'type' => 'shelf']) @if($currentUser->can('bookshelf-create-all')) @icon('add') {{ trans('entities.shelves_create') }} @endif
@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