@extends('layouts.tri') @section('body') @include('books.parts.list', ['books' => $books, 'view' => $view]) @stop @section('left') @if($recents)
{{ trans('entities.recently_viewed') }}
@include('entities.list', ['entities' => $recents, 'style' => 'compact'])
@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(user()->can('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