X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/03073dd9e413d20d385cb4a90cbce420fa5614c1..refs/pull/3555/head:/resources/views/chapters/show.blade.php diff --git a/resources/views/chapters/show.blade.php b/resources/views/chapters/show.blade.php index f74c584e5..3e015616a 100644 --- a/resources/views/chapters/show.blade.php +++ b/resources/views/chapters/show.blade.php @@ -1,32 +1,36 @@ -@extends('tri-layout') +@extends('layouts.tri') @section('container-attrs') - id="entity-dashboard" - entity-id="{{ $chapter->id }}" - entity-type="chapter" + component="entity-search" + option:entity-search:entity-id="{{ $chapter->id }}" + option:entity-search:entity-type="chapter" @stop +@push('social-meta') + +@endpush + @section('body') -
- @include('partials.breadcrumbs', ['crumbs' => [ + -
-

{{ $chapter->name }}

-
-

{!! nl2br(e($chapter->description)) !!}

+
+

{{ $chapter->name }}

+
+

{!! nl2br(e($chapter->description)) !!}

@if(count($pages) > 0) -
+
@foreach($pages as $page) - @include('pages.list-item', ['page' => $page]) + @include('pages.parts.list-item', ['page' => $page]) @endforeach
@else -
+

{{ trans('entities.chapters_empty') }}

@@ -49,8 +53,10 @@ @endif
- @include('partials.entity-dashboard-search-results') -
+ @include('entities.search-results') +
+ + @include('entities.sibling-navigation', ['next' => $next, 'previous' => $previous]) @stop @@ -58,15 +64,21 @@
{{ trans('common.details') }}
- @stop @section('left') - @include('partials.entity-dashboard-search-box') + @include('entities.search-form', ['label' => trans('entities.chapters_search_this')]) @if($chapter->tags->count() > 0)
- @include('components.tag-list', ['entity' => $chapter]) + @include('entities.tag-list', ['entity' => $chapter])
@endif - @include('partials.book-tree', ['book' => $book, 'sidebarTree' => $sidebarTree]) + @include('entities.book-tree', ['book' => $book, 'sidebarTree' => $sidebarTree]) @stop