X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/a6633642232efd164d4708967ab59e498fbff896..refs/pull/5313/head:/resources/views/shelves/index.blade.php
diff --git a/resources/views/shelves/index.blade.php b/resources/views/shelves/index.blade.php
index 21c33aa9c..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(userCan('bookshelf-create-all'))
-
+
@icon('add')
{{ trans('entities.shelves_new_action') }}
@endif
- @include('partials.view-toggle', ['view' => $view, 'type' => 'shelves'])
+
+ @include('entities.view-toggle', ['view' => $view, 'type' => 'bookshelves'])
+
+
+ @icon('tag')
+ {{ trans('entities.tags_view_tags') }}
+
@@ -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_popular') }}
@if(count($popular) > 0)
- @include('partials.entity-list', ['entities' => $popular, 'style' => 'compact'])
+ @include('entities.list', ['entities' => $popular, 'style' => 'compact'])
@else
-
{{ trans('entities.shelves_popular_empty') }}
+
{{ trans('entities.shelves_popular_empty') }}
@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