X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/6be2d3f28c2d59987dba8b2b38714a7b9aae7c6b..refs/pull/5725/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..45e43ad96 100644 --- a/resources/views/chapters/show.blade.php +++ b/resources/views/chapters/show.blade.php @@ -1,139 +1,186 @@ -@extends('sidebar-layout') +@extends('layouts.tri') -@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 + +@push('social-meta') + +@endpush + +@include('entities.body-tag-classes', ['entity' => $chapter]) + +@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 + @include('entities.search-results') + -@section('sidebar') + @include('entities.sibling-navigation', ['next' => $next, 'previous' => $previous]) - @if($chapter->tags->count() > 0) -
- @include('components.tag-list', ['entity' => $chapter]) -
- @endif +@stop -
-
- -
-
+@section('right') -
-

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

-