-
+ @endif
-
+ @if($page->tags->count() > 0)
+
+
@icon('tag') {{ trans('entities.page_tags') }}
+
+
+ @endif
-
- Created {{$page->created_at->diffForHumans()}} @if($page->createdBy) by {{$page->createdBy->name}} @endif
-
- Last Updated {{$page->updated_at->diffForHumans()}} @if($page->updatedBy) by {{$page->updatedBy->name}} @endif
-
+ @if ($page->attachments->count() > 0)
+
+
@icon('attach') {{ trans('entities.pages_attachments') }}
+
+ @foreach($page->attachments as $attachment)
+
+ @endforeach
+
+
+ @endif
+ @if (isset($pageNav) && count($pageNav))
+
+
@icon('open-book') {{ trans('entities.pages_navigation') }}
+
+
-
+
+ @endif
- @include('pages/sidebar-tree-list', ['book' => $book, 'sidebarTree' => $sidebarTree])
+
+
@icon('info') {{ trans('common.details') }}
+
+ @include('partials.entity-meta', ['entity' => $page])
+
+
+
+ @include('partials/book-tree', ['book' => $book, 'sidebarTree' => $sidebarTree])
+
+@stop
+@section('body')
+
- @include('partials/highlight')
+ @include('pages/page-display')
+
+
+ @if ($commentsEnabled)
+
+ @include('comments/comments', ['page' => $page])
+
+ @endif
@stop
@section('scripts')