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