X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/5f2d226f09229566de24f0f6ff526eaf9ade9e1f..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 6858661c4..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,50 +41,56 @@ @if($page->tags->count() > 0)
- @include('components.tag-list', ['entity' => $page]) + @include('entities.tag-list', ['entity' => $page])
@endif @if ($page->attachments->count() > 0) -
+
{{ trans('entities.pages_attachments') }}
- @foreach($page->attachments as $attachment) - - @endforeach + @include('attachments.list', ['attachments' => $page->attachments])
@endif @if (isset($pageNav) && count($pageNav)) - + @endif + @include('entities.book-tree', ['book' => $book, 'sidebarTree' => $sidebarTree]) +@stop + +@section('right')
{{ trans('common.details') }}
- - @include('partials.book-tree', ['book' => $book, 'sidebarTree' => $sidebarTree]) -@stop - -@section('right')
-
Actions
+
{{ trans('common.actions') }}
- {{--Export--}} - {{--User Actions--}} @if(userCan('page-update', $page)) @@ -171,6 +178,15 @@ {{ trans('common.delete') }} @endif + +
+ + @if(signedInUser()) + @include('entities.favourite-action', ['entity' => $page]) + @endif + @if(userCan('content-export')) + @include('entities.export-menu', ['entity' => $page]) + @endif