X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/be4f3d62cd37c7b83eb86bbf5fffa00d20acf2ec..refs/pull/3406/head:/resources/views/books/show.blade.php diff --git a/resources/views/books/show.blade.php b/resources/views/books/show.blade.php index e5845b495..5263bc810 100644 --- a/resources/views/books/show.blade.php +++ b/resources/views/books/show.blade.php @@ -1,68 +1,74 @@ -@extends('sidebar-layout') +@extends('layouts.tri') -@section('toolbar') -
- @include('books._breadcrumbs', ['book' => $book]) +@section('container-attrs') + component="entity-search" + option:entity-search:entity-id="{{ $book->id }}" + option:entity-search:entity-type="book" +@stop + +@push('social-meta') + + @if($book->cover) + + @endif +@endpush + +@section('body') + +
+ @include('entities.breadcrumbs', ['crumbs' => [ + $book, + ]])
-
-
- -
@icon('export'){{ trans('entities.export') }}
- -
- @if(userCan('page-create', $book)) - @icon('add'){{ trans('entities.pages_new') }} - @endif - @if(userCan('chapter-create', $book)) - @icon('add'){{ trans('entities.chapters_new') }} - @endif - @if(userCan('book-update', $book) || userCan('restrictions-manage', $book) || userCan('book-delete', $book)) - +
@endif
-
-@stop -@section('sidebar') + @include('entities.search-results') + - @if($book->tags->count() > 0) -
- @include('components.tag-list', ['entity' => $book]) -
- @endif - -
-
- -
-
+@stop -
-

@icon('info') {{ trans('common.details') }}

-