X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/e91ef54cc9f8ce6b264bced8191275b6a33e594f..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 105cda760..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')
-

{{ $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,34 +55,48 @@ @endif
- @include('partials.entity-dashboard-search-results') + @include('entities.search-results')
+ @include('entities.sibling-navigation', ['next' => $next, 'previous' => $previous]) + @stop @section('right')
{{ trans('common.details') }}
-