- @include('partials.entity-meta', ['entity' => $book])
- @if($book->restricted)
+
+ @include('entities.meta', ['entity' => $book])
+ @if($book->hasPermissions())
@endif
@@ -79,13 +94,13 @@
@if(userCan('page-create', $book))
-
+
@icon('add')
{{ trans('entities.pages_new') }}
@endif
@if(userCan('chapter-create', $book))
-
+
@icon('add')
{{ trans('entities.chapters_new') }}
@@ -94,23 +109,29 @@
@if(userCan('book-update', $book))
-
+
@icon('edit')
{{ trans('common.edit') }}
-
+
@icon('sort')
{{ trans('common.sort') }}
@endif
+ @if(userCan('book-create-all'))
+
+ @icon('copy')
+ {{ trans('common.copy') }}
+
+ @endif
@if(userCan('restrictions-manage', $book))
-
+
@icon('lock')
{{ trans('entities.permissions') }}
@endif
@if(userCan('book-delete', $book))
-
+
@icon('delete')
{{ trans('common.delete') }}
@@ -118,7 +139,12 @@
- @include('partials.entity-export-menu', ['entity' => $book])
+ @if(signedInUser())
+ @include('entities.favourite-action', ['entity' => $book])
+ @endif
+ @if(userCan('content-export'))
+ @include('entities.export-menu', ['entity' => $book])
+ @endif
@@ -126,25 +152,25 @@
@section('left')
- @include('partials.entity-search-form', ['label' => trans('entities.books_search_this')])
+ @include('entities.search-form', ['label' => trans('entities.books_search_this')])
@if($book->tags->count() > 0)
- @include('components.tag-list', ['entity' => $book])
+ @include('entities.tag-list', ['entity' => $book])
@endif
@if(count($bookParentShelves) > 0)
-
{{ trans('entities.shelves_long') }}
- @include('partials.entity-list', ['entities' => $bookParentShelves, 'style' => 'compact'])
+ {{ trans('entities.shelves') }}
+ @include('entities.list', ['entities' => $bookParentShelves, 'style' => 'compact'])
@endif
@if(count($activity) > 0)
{{ trans('entities.recent_activity') }}
- @include('partials.activity-list', ['activity' => $activity])
+ @include('common.activity-list', ['activity' => $activity])
@endif
@stop