@extends('base') @section('content')
{{ trans('common.toggle_thumbnails') }} @if($currentUser->can('book-create-all')) {{ trans('entities.books_create') }} @endif

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

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

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

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

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

@include('partials/entity-list', ['entities' => $recents]) @endif
 
{!! $books->render() !!}
@stop