+
+ @if($book->restricted)
+ @if(userCan('restrictions-manage', $book))
+
{{ trans('entities.books_permissions_active') }}
+ @else
+
{{ trans('entities.books_permissions_active') }}
+ @endif
+
+ @endif
+
+ @if($page->chapter && $page->chapter->restricted)
+ @if(userCan('restrictions-manage', $page->chapter))
+
{{ trans('entities.chapters_permissions_active') }}
+ @else
+
{{ trans('entities.chapters_permissions_active') }}
+ @endif
+
+ @endif
-
+ @endif
+
+ @if($page->tags->count() > 0)
+
+
{{ trans('entities.page_tags') }}
+
-
-
+ @endif
-
-
Page Navigation
-
+ @if (isset($pageNav) && count($pageNav))
+
+
{{ trans('entities.pages_navigation') }}
+
+
+
+
+ @endif
+
+ @include('partials/book-tree', ['book' => $book, 'sidebarTree' => $sidebarTree])
+
+
+
{{ trans('common.details') }}
+
+ @include('partials.entity-meta', ['entity' => $page])
+
+@stop
+@section('body')
+
-
-
{{$page->name}}
- @if(count($page->children) > 0)
-
Sub-pages
-
- @foreach($page->children as $childPage)
-
{{ $childPage->name }}
- @endforeach
+
+
+
+
+
- @endif
- {!! $page->html !!}
-
+
+
+ @include('pages/page-display')
+
+
+ @include('comments/comments', ['pageId' => $page->id])
+
+@stop
+@section('scripts')
@stop