X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/cc24d478aafd2054e84e1b0ebdf98e9a0ede99f9..refs/pull/2376/head:/resources/views/pages/show.blade.php diff --git a/resources/views/pages/show.blade.php b/resources/views/pages/show.blade.php index 91a90cb00..48c88434e 100644 --- a/resources/views/pages/show.blade.php +++ b/resources/views/pages/show.blade.php @@ -2,7 +2,7 @@ @section('body') -
+ -
-
- -
-
- @icon('link') @icon('include', ['style' => 'display:none;']) - - - - - @if(userCan('page-update', $page)) - @icon('edit') - @endif -
-
- +
+
+ @include('pages.pointer', ['page' => $page]) @include('pages.page-display')
-
+ @if ($commentsEnabled) -
+ @@ -51,32 +37,25 @@
{{ trans('entities.pages_attachments') }}
- @foreach($page->attachments as $attachment) - - @endforeach + @include('attachments.list', ['attachments' => $page->attachments])
@endif @if (isset($pageNav) && count($pageNav)) - + @endif @include('partials.book-tree', ['book' => $book, 'sidebarTree' => $sidebarTree]) @@ -117,11 +96,17 @@ @endif
@endif + + @if($page->template) +
+ @icon('template'){{ trans('entities.pages_is_template') }} +
+ @endif
-
Actions
+
{{ trans('common.actions') }}
@@ -166,17 +151,7 @@
{{--Export--}} - + @include('partials.entity-export-menu', ['entity' => $page])