X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/20988962fe7eb124ecca4cf4750eb7e08925aba6..refs/pull/5725/head:/resources/views/shelves/index.blade.php diff --git a/resources/views/shelves/index.blade.php b/resources/views/shelves/index.blade.php index 717053a08..85663b413 100644 --- a/resources/views/shelves/index.blade.php +++ b/resources/views/shelves/index.blade.php @@ -1,23 +1,27 @@ -@extends('tri-layout') +@extends('layouts.tri') @section('body') -
- @include('shelves.list', ['shelves' => $shelves, 'view' => $view]) -
+ @include('shelves.parts.list', ['shelves' => $shelves, 'view' => $view, 'listOptions' => $listOptions]) @stop @section('right')
{{ trans('common.actions') }}
-
- @include('partials.view-toggle', ['view' => $view, 'type' => 'shelf']) - @if($currentUser->can('bookshelf-create-all')) - - @icon('add') - {{ trans('entities.shelves_create') }} +
@@ -25,27 +29,27 @@ @section('left') @if($recents) -
+
{{ trans('entities.recently_viewed') }}
- @include('partials.entity-list', ['entities' => $recents, 'style' => 'compact']) + @include('entities.list', ['entities' => $recents, 'style' => 'compact'])
@endif -