+ @include('pages.pointer', ['page' => $page])
+ @include('pages.page-display')
-
+ @endif
@stop
-@section('sidebar')
+@section('left')
@if($page->tags->count() > 0)
-
@icon('attach') {{ trans('entities.pages_attachments') }}
+
+
@endif
@if (isset($pageNav) && count($pageNav))
-
+
@endif
- {{ trans('entities.pages_attachments') }}
- @foreach($page->attachments as $attachment)
-
- @endforeach
+ @include('attachments.list', ['attachments' => $page->attachments])
-
@icon('info') {{ trans('common.details') }}
-
+ @include('partials.book-tree', ['book' => $book, 'sidebarTree' => $sidebarTree])
+@stop
+
+@section('right')
+
- @include('partials.book-tree', ['book' => $book, 'sidebarTree' => $sidebarTree])
+
+
{{ trans('common.details') }}
+
@include('partials.entity-meta', ['entity' => $page])
@if($book->restricted)
@@ -110,39 +96,63 @@
@endif
@endif
+
+ @if($page->template)
+
+ @icon('template'){{ trans('entities.pages_is_template') }}
+
+ @endif
+
{{ trans('common.actions') }}
-@stop +
-@section('body-wrap-classes', 'flex-fill columns')
+ {{--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
-@section('body')
+
-
-
-
-
-
- @if ($commentsEnabled)
-
-
- @include('pages/page-display')
- @icon('link') @icon('include', ['style' => 'display:none;'])
-
-
-
-
- @if(userCan('page-update', $page))
- @icon('edit')
- @endif
-
+ {{--Export--}}
+ @include('partials.entity-export-menu', ['entity' => $page])
- @include('comments/comments', ['page' => $page])
-
- @endif
@stop