X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/f9feeef5c94141718e7617cd67edd98ea8b2170c..refs/pull/3406/head:/resources/views/books/export.blade.php diff --git a/resources/views/books/export.blade.php b/resources/views/books/export.blade.php index 462ad7991..0b6b4a58c 100644 --- a/resources/views/books/export.blade.php +++ b/resources/views/books/export.blade.php @@ -1,80 +1,46 @@ - - - - - {{ $book->name }} +@extends('layouts.export') - - @yield('head') - - -
-
-
-
+@section('title', $book->name) -

{{$book->name}}

+@section('content') +

{{$book->name}}

-

{{ $book->description }}

+

{{ $book->description }}

- @if(count($bookChildren) > 0) -
    - @foreach($bookChildren as $bookChild) -
  • {{ $bookChild->name }}
  • - @if($bookChild->isA('chapter') && count($bookChild->pages) > 0) - - @endif - @endforeach -
+ @if(count($bookChildren) > 0) +
    + @foreach($bookChildren as $bookChild) +
  • {{ $bookChild->name }}
  • + @if($bookChild->isA('chapter') && count($bookChild->visible_pages) > 0) + @endif + @endforeach +
+ @endif + + @foreach($bookChildren as $bookChild) +
+

{{ $bookChild->name }}

+ + @if($bookChild->isA('chapter')) +

{{ $bookChild->description }}

- @foreach($bookChildren as $bookChild) + @if(count($bookChild->visible_pages) > 0) + @foreach($bookChild->visible_pages as $page)
-

{{ $bookChild->name }}

- @if($bookChild->isA('chapter')) -

{{ $bookChild->description }}

- @if(count($bookChild->pages) > 0) - @foreach($bookChild->pages as $page) -
-
{{$bookChild->name}}
-

{{ $page->name }}

- {!! $page->html !!} - @endforeach - @endif - @else - {!! $bookChild->html !!} - @endif +
{{$bookChild->name}}
+

{{ $page->name }}

+ {!! $page->html !!} @endforeach + @endif + + @else + {!! $bookChild->html !!} + @endif -
-
-
-
- - + @endforeach +@endsection \ No newline at end of file