@extends('sidebar-layout') @section('toolbar')
@if($currentUser->can('book-create-all')) {{ trans('entities.books_create') }} @endif
@stop @section('sidebar') @if($recents)

{{ trans('entities.recently_viewed') }}

@include('partials/entity-list', ['entities' => $recents, 'style' => 'compact'])
@endif @stop @section('body')

{{ trans('entities.books') }}

@if(count($books) > 0) @foreach($books as $book) @include('books/list-item', ['book' => $book])
@endforeach {!! $books->render() !!} @else

{{ trans('entities.books_empty') }}

@if(userCan('books-create-all')) {{ trans('entities.create_one_now') }} @endif @endif
@stop