X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/844976c85bd9816b5427090b732eda5d32227c47..refs/pull/5313/head:/resources/views/books/index.blade.php diff --git a/resources/views/books/index.blade.php b/resources/views/books/index.blade.php index c5dd38a87..0b407a860 100644 --- a/resources/views/books/index.blade.php +++ b/resources/views/books/index.blade.php @@ -1,66 +1,54 @@ -@extends('base') +@extends('layouts.tri') -@section('content') +@section('body') + @include('books.parts.list', ['books' => $books, 'view' => $view, 'listOptions' => $listOptions]) +@stop -
-
-
-
-
- {{ trans('common.toggle_thumbnails') }} - @if($currentUser->can('book-create-all')) - {{ trans('entities.books_create') }} - @endif -
-
-
+@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') }}
+