X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/a2087fe3ff3b33e1dcaececafa6dd6bb65a3feae..refs/pull/2511/head:/resources/views/chapters/show.blade.php diff --git a/resources/views/chapters/show.blade.php b/resources/views/chapters/show.blade.php index f5f990145..db02ebcc4 100644 --- a/resources/views/chapters/show.blade.php +++ b/resources/views/chapters/show.blade.php @@ -1,72 +1,64 @@ -@extends('sidebar-layout') +@extends('tri-layout') -@section('toolbar') -
- @include('chapters._breadcrumbs', ['chapter' => $chapter]) +@section('container-attrs') + component="entity-search" + option:entity-search:entity-id="{{ $chapter->id }}" + option:entity-search:entity-type="chapter" +@stop + +@section('body') + + -
-
- -
@icon('export'){{ trans('entities.export') }}
- -
- @if(userCan('page-create', $chapter)) - @icon('add'){{ trans('entities.pages_new') }} - @endif - @if(userCan('chapter-update', $chapter)) - @icon('edit'){{ trans('common.edit') }} - @endif - @if((userCan('chapter-update', $chapter) && userCan('chapter-delete', $chapter) )|| userCan('restrictions-manage', $chapter) || userCan('chapter-delete', $chapter)) - +
@endif
-
-@stop - -@section('container-attrs') - id="entity-dashboard" - entity-id="{{ $chapter->id }}" - entity-type="chapter" -@stop -@section('sidebar') + @include('partials.entity-search-results') + - @if($chapter->tags->count() > 0) -
- @include('components.tag-list', ['entity' => $chapter]) -
- @endif +@stop -
-
- -
-
+@section('right') -
-

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

-