X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/80865b30a5d6a82e86d21e272ae58977d4430a64..refs/pull/780/head:/resources/views/pages/show.blade.php diff --git a/resources/views/pages/show.blade.php b/resources/views/pages/show.blade.php index 286d44387..f11da0f4f 100644 --- a/resources/views/pages/show.blade.php +++ b/resources/views/pages/show.blade.php @@ -1,114 +1,158 @@ -@extends('base') - -@section('content') - -
-
-
-
- -
-
-
- -
Export
- -
+@extends('sidebar-layout') + +@section('toolbar') +
+ @include('pages._breadcrumbs', ['page' => $page]) +
+
+
+ +
@icon('export'){{ trans('entities.export') }}
+ +
+ @if(userCan('page-update', $page)) + @icon('edit'){{ trans('common.edit') }} + @endif + @if(userCan('page-update', $page) || userCan('restrictions-manage', $page) || userCan('page-delete', $page)) + +
-
+ @endif +
+@stop +@section('sidebar') + @if($book->restricted || ($page->chapter && $page->chapter->restricted) || $page->restricted) +
+

@icon('permission') {{ trans('entities.permissions') }}

+
+
-
-
- -