X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/07b889547d28e68e5fc8f923c166bd607da17ad7..refs/pull/2511/head:/resources/views/pages/show.blade.php diff --git a/resources/views/pages/show.blade.php b/resources/views/pages/show.blade.php index ff4db2eec..38e819a9e 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')
+
+ +
+
+ +
+
+ Next Page +
+
@if ($commentsEnabled) -
+ @@ -51,32 +49,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 +108,17 @@ @endif
@endif + + @if($page->template) +
+ @icon('template'){{ trans('entities.pages_is_template') }} +
+ @endif
-
Actions
+
{{ trans('common.actions') }}
@@ -166,17 +163,7 @@
{{--Export--}} - + @include('partials.entity-export-menu', ['entity' => $page])