X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/07b889547d28e68e5fc8f923c166bd607da17ad7..refs/pull/5725/head:/resources/views/books/index.blade.php diff --git a/resources/views/books/index.blade.php b/resources/views/books/index.blade.php index 38286c201..197de011d 100644 --- a/resources/views/books/index.blade.php +++ b/resources/views/books/index.blade.php @@ -1,34 +1,32 @@ -@extends('tri-layout') - -@section('container-classes', 'mt-xl') +@extends('layouts.tri') @section('body') - @include('books.list', ['books' => $books, 'view' => $view]) + @include('books.parts.list', ['books' => $books, 'view' => $view, 'listOptions' => $listOptions]) @stop @section('left') @if($recents)
{{ trans('entities.recently_viewed') }}
- @include('partials.entity-list', ['entities' => $recents, 'style' => 'compact']) + @include('entities.list', ['entities' => $recents, 'style' => 'compact'])
@endif
{{ trans('entities.books_new') }}
- @if(count($popular) > 0) - @include('partials.entity-list', ['entities' => $new, 'style' => 'compact']) + @if(count($new) > 0) + @include('entities.list', ['entities' => $new, 'style' => 'compact']) @else -
{{ trans('entities.books_new_empty') }}
+

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

@endif
@stop @@ -37,16 +35,28 @@
{{ trans('common.actions') }}
-
- @if($currentUser->can('book-create-all')) - +
-@stop \ No newline at end of file +@stop