X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/7f95b51b00d0d5fa1e7bcf5574f2d58bddcbd504..refs/pull/3918/head:/resources/views/books/index.blade.php
diff --git a/resources/views/books/index.blade.php b/resources/views/books/index.blade.php
index fcf9cb4bb..dc51a3a80 100644
--- a/resources/views/books/index.blade.php
+++ b/resources/views/books/index.blade.php
@@ -1,19 +1,21 @@
-@extends('tri-layout')
+@extends('layouts.tri')
-@section('container-classes', 'mt-xl')
+@section('body')
+ @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_popular') }}
@if(count($popular) > 0)
- @include('partials.entity-list', ['entities' => $popular, 'style' => 'compact'])
+ @include('entities.list', ['entities' => $popular, 'style' => 'compact'])
@else
{{ trans('entities.books_popular_empty') }}
@endif
@@ -22,29 +24,31 @@
{{ trans('entities.books_new') }}
@if(count($popular) > 0)
- @include('partials.entity-list', ['entities' => $new, 'style' => 'compact'])
+ @include('entities.list', ['entities' => $new, 'style' => 'compact'])
@else
{{ trans('entities.books_new_empty') }}
@endif
@stop
-@section('body')
- @include('books.list', ['books' => $books, 'view' => $view])
-@stop
-
@section('right')