X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/07b889547d28e68e5fc8f923c166bd607da17ad7..refs/pull/3555/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..2a71c6021 100644 --- a/resources/views/pages/show.blade.php +++ b/resources/views/pages/show.blade.php @@ -1,38 +1,36 @@ -@extends('tri-layout') +@extends('layouts.tri') + +@push('social-meta') + +@endpush @section('body') -
- @include('partials.breadcrumbs', ['crumbs' => [ + -
-
- -
-
- @icon('link') @icon('include', ['style' => 'display:none;']) - - - - - @if(userCan('page-update', $page)) - @icon('edit') - @endif -
-
- - @include('pages.page-display') +
+
+ @include('pages.parts.pointer', ['page' => $page]) + @include('pages.parts.page-display')
-
+ + + @include('entities.sibling-navigation', ['next' => $next, 'previous' => $previous]) @if ($commentsEnabled) -
+ @if(($previous || $next)) +
+
+
+ @endif + + @@ -43,7 +41,7 @@ @if($page->tags->count() > 0)
- @include('components.tag-list', ['entity' => $page]) + @include('entities.tag-list', ['entity' => $page])
@endif @@ -51,49 +49,48 @@
{{ 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]) + @include('entities.book-tree', ['book' => $book, 'sidebarTree' => $sidebarTree]) @stop @section('right')
{{ trans('common.details') }}
-
-
Actions
+
{{ trans('common.actions') }}
@@ -165,18 +181,12 @@
- {{--Export--}} - + @if(signedInUser()) + @include('entities.favourite-action', ['entity' => $page]) + @endif + @if(userCan('content-export')) + @include('entities.export-menu', ['entity' => $page]) + @endif