@extends('layouts.tri') @section('body') @include('books.parts.list', ['books' => $books, 'view' => $view, 'listOptions' => $listOptions]) @stop @section('left') @if($recents)
{{ trans('entities.recently_viewed') }}
@include('entities.list', ['entities' => $recents, 'style' => 'compact'])
@endif
{{ trans('entities.books_popular') }}
@if(count($popular) > 0) @include('entities.list', ['entities' => $popular, 'style' => 'compact']) @else
{{ trans('entities.books_popular_empty') }}
@endif
{{ trans('entities.books_new') }}
@if(count($popular) > 0) @include('entities.list', ['entities' => $new, 'style' => 'compact']) @else
{{ trans('entities.books_new_empty') }}
@endif
@stop @section('right')
{{ trans('common.actions') }}
@if(userCan('book-create-all'))
@icon('add')
{{ trans('entities.books_create') }}
@endif @include('entities.view-toggle', ['view' => $view, 'type' => 'books'])
@icon('tag')
{{ trans('entities.tags_view_tags') }}
@stop