X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/04287745e40b951252a67b048fdff87ef613075b..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 db2f1462e..2a71c6021 100644 --- a/resources/views/pages/show.blade.php +++ b/resources/views/pages/show.blade.php @@ -1,96 +1,96 @@ -@extends('sidebar-layout') +@extends('layouts.tri') -@section('toolbar') -
- @include('pages._breadcrumbs', ['page' => $page]) +@push('social-meta') + +@endpush + +@section('body') + + -
-
- -
@icon('export'){{ trans('entities.export') }}
- -
- @if(userCan('page-update', $page)) - @icon('edit'){{ trans('common.edit') }} - @endif - @if((userCan('page-view', $page) && userCanOnAny('page-create')) || userCan('page-update', $page) || userCan('restrictions-manage', $page) || userCan('page-delete', $page)) - - @endif +
+
+ @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 + + + @endif @stop -@section('sidebar') +@section('left') @if($page->tags->count() > 0)
- @include('components.tag-list', ['entity' => $page]) + @include('entities.tag-list', ['entity' => $page])
@endif @if ($page->attachments->count() > 0) -
-

@icon('attach') {{ trans('entities.pages_attachments') }}

+
+
{{ trans('entities.pages_attachments') }}
- @foreach($page->attachments as $attachment) - - @endforeach + @include('attachments.list', ['attachments' => $page->attachments])
@endif @if (isset($pageNav) && count($pageNav)) -
-

@icon('open-book') {{ trans('entities.pages_navigation') }}

+
+ @endif -
-

@icon('info') {{ trans('common.details') }}

-