@extends('tri-layout') @section('body')
@include('partials.breadcrumbs', ['crumbs' => [ $page->book, $page->hasChapter() ? $page->chapter : null, $page, ]])
@icon('link') @icon('include', ['style' => 'display:none;']) @if(userCan('page-update', $page)) @icon('edit') @endif
@include('pages.page-display')
@if ($commentsEnabled)
@include('comments.comments', ['page' => $page])
@endif @stop @section('left') @if($page->tags->count() > 0)
@include('components.tag-list', ['entity' => $page])
@endif @if ($page->attachments->count() > 0)
{{ trans('entities.pages_attachments') }}
@foreach($page->attachments as $attachment) @endforeach
@endif @if (isset($pageNav) && count($pageNav)) @endif @include('partials.book-tree', ['book' => $book, 'sidebarTree' => $sidebarTree]) @stop @section('right')
{{ trans('common.details') }}
Actions
{{--Export--}} {{--User Actions--}} @if(userCan('page-update', $page)) @icon('edit') {{ trans('common.edit') }} @endif @if(userCanOnAny('page-create')) @icon('copy') {{ trans('common.copy') }} @endif @if(userCan('page-update', $page)) @if(userCan('page-delete', $page)) @icon('folder') {{ trans('common.move') }} @endif @icon('history') {{ trans('entities.revisions') }} @endif @if(userCan('restrictions-manage', $page)) @icon('lock') {{ trans('entities.permissions') }} @endif @if(userCan('page-delete', $page)) @icon('delete') {{ trans('common.delete') }} @endif
@stop