X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/3286f29a61833327b5701b28db626d0a480b07f9..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 95b157df9..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') }}
-
- @include('partials.view-toggle', ['view' => $view, 'type' => 'shelf']) - @if($currentUser->can('bookshelf-create-all')) - - @icon('add') - {{ trans('entities.shelves_create') }} +
@@ -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