X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/421dd93ffd59bbe881df1f7fa86066f7f353b596..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 fb0df2ddd..48c88434e 100644 --- a/resources/views/pages/show.blade.php +++ b/resources/views/pages/show.blade.php @@ -2,7 +2,7 @@ @section('body') -
+ -
-
+
+
@include('pages.pointer', ['page' => $page]) @include('pages.page-display')
-
+ @if ($commentsEnabled) -
+ @@ -37,20 +37,13 @@
{{ 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]) @@ -103,11 +96,17 @@ @endif
@endif + + @if($page->template) +
+ @icon('template'){{ trans('entities.pages_is_template') }} +
+ @endif
-
Actions
+
{{ trans('common.actions') }}
@@ -152,17 +151,7 @@
{{--Export--}} - + @include('partials.entity-export-menu', ['entity' => $page])