X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/efc034bd8d1ddc1af73c97e8aa487dacff351a92..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 8cf959b1e..85663b413 100644 --- a/resources/views/shelves/index.blade.php +++ b/resources/views/shelves/index.blade.php @@ -1,21 +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') }}
-
- @if($currentUser->can('bookshelf-create-all')) - +
@@ -25,25 +31,25 @@ @if($recents)
{{ trans('entities.recently_viewed') }}
- @include('partials.entity-list', ['entities' => $recents, 'style' => 'compact']) + @include('entities.list', ['entities' => $recents, 'style' => 'compact'])
@endif
{{ trans('entities.shelves_new') }}
@if(count($new) > 0) - @include('partials.entity-list', ['entities' => $new, 'style' => 'compact']) + @include('entities.list', ['entities' => $new, 'style' => 'compact']) @else -
{{ trans('entities.shelves_new_empty') }}
+

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

@endif
@stop \ No newline at end of file