X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/48587d2c38b79c402fedce8eaef95553f826d6bf..refs/pull/5681/head:/resources/views/books/show.blade.php diff --git a/resources/views/books/show.blade.php b/resources/views/books/show.blade.php index 4782da3b9..dbb09fc9e 100644 --- a/resources/views/books/show.blade.php +++ b/resources/views/books/show.blade.php @@ -1,4 +1,4 @@ -@extends('tri-layout') +@extends('layouts.tri') @section('container-attrs') component="entity-search" @@ -8,13 +8,17 @@ @push('social-meta') - + @if($book->cover) + + @endif @endpush +@include('entities.body-tag-classes', ['entity' => $book]) + @section('body') -
- @include('partials.breadcrumbs', ['crumbs' => [ + @@ -22,14 +26,14 @@

{{$book->name}}

-

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

+
{!! $book->descriptionHtml() !!}
@if(count($bookChildren) > 0)
@foreach($bookChildren as $childElement) @if($childElement->isA('chapter')) - @include('chapters.list-item', ['chapter' => $childElement]) + @include('chapters.parts.list-item', ['chapter' => $childElement]) @else - @include('pages.list-item', ['page' => $childElement]) + @include('pages.parts.list-item', ['page' => $childElement]) @endif @endforeach
@@ -57,7 +61,7 @@ @endif
- @include('partials.entity-search-results') + @include('entities.search-results')
@stop @@ -65,14 +69,20 @@ @section('right')
{{ trans('common.details') }}
-