@extends('layouts.tri') @push('social-meta') @endpush @include('entities.body-tag-classes', ['entity' => $page]) @section('body')
@include('pages.parts.pointer', ['page' => $page]) @include('pages.parts.page-display')
@include('entities.sibling-navigation', ['next' => $next, 'previous' => $previous]) @if ($commentsEnabled) @if(($previous || $next))

@endif @endif @stop @section('left') @if($page->tags->count() > 0)
@include('entities.tag-list', ['entity' => $page])
@endif @if ($page->attachments->count() > 0)
{{ trans('entities.pages_attachments') }}
@include('attachments.list', ['attachments' => $page->attachments])
@endif @if (isset($pageNav) && count($pageNav)) @endif @include('entities.book-tree', ['book' => $book, 'sidebarTree' => $sidebarTree]) @stop @section('right')
{{ trans('common.details') }}
{{ trans('common.actions') }}
{{--User Actions--}} @if(userCan('page-update', $page)) @icon('edit') {{ trans('common.edit') }} @endif @if(userCanOnAny('create', \BookStack\Entities\Models\Book::class) || userCanOnAny('create', \BookStack\Entities\Models\Chapter::class) || userCan('page-create-all') || userCan('page-create-own')) @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
@if(signedInUser()) @include('entities.favourite-action', ['entity' => $page]) @endif @if(userCan('content-export')) @include('entities.export-menu', ['entity' => $page]) @endif
@stop