@extends('sidebar-layout') @section('toolbar')
@include('pages._breadcrumbs', ['page' => $page])
{{ trans('entities.export') }}
@if(userCan('page-update', $page)) {{ trans('common.edit') }} @endif @if(userCan('page-update', $page) || userCan('restrictions-manage', $page) || userCan('page-delete', $page)) @endif
@stop @section('sidebar') @if($book->restricted || ($page->chapter && $page->chapter->restricted) || $page->restricted)
@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 @if($page->restricted) @if(userCan('restrictions-manage', $page)) {{ trans('entities.pages_permissions_active') }} @else {{ trans('entities.pages_permissions_active') }} @endif
@endif
@endif @include('pages/sidebar-tree-list', ['book' => $book, 'sidebarTree' => $sidebarTree, 'pageNav' => $pageNav]) @stop @section('body')
@include('pages/page-display')
@include('partials.entity-meta', ['entity' => $page])
@include('comments/comments', ['pageId' => $page->id])
@stop @section('scripts') @stop