X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/4d5e47a2d2e17023d4eaa0ec4ae2cc64d2dd5bd1..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 8eddd5851..45e43ad96 100644 --- a/resources/views/chapters/show.blade.php +++ b/resources/views/chapters/show.blade.php @@ -1,32 +1,38 @@ -@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 + +@include('entities.body-tag-classes', ['entity' => $chapter]) + @section('body') -
- @include('partials.breadcrumbs', ['crumbs' => [ + -
-

{{ $chapter->name }}

-
-

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

+
+

{{ $chapter->name }}

+
+
{!! $chapter->descriptionHtml() !!}
@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 +55,10 @@ @endif
- @include('partials.entity-dashboard-search-results') -
+ @include('entities.search-results') +
+ + @include('entities.sibling-navigation', ['next' => $next, 'previous' => $previous]) @stop @@ -58,25 +66,37 @@
{{ trans('common.details') }}
-