X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/3286f29a61833327b5701b28db626d0a480b07f9..refs/pull/2511/head:/resources/views/pages/show.blade.php diff --git a/resources/views/pages/show.blade.php b/resources/views/pages/show.blade.php index 773d74a1e..38e819a9e 100644 --- a/resources/views/pages/show.blade.php +++ b/resources/views/pages/show.blade.php @@ -2,33 +2,35 @@ @section('body') -
- @include('pages._breadcrumbs', ['page' => $page]) + -
-
- -
-
- @icon('link') @icon('include', ['style' => 'display:none;']) - - - - - @if(userCan('page-update', $page)) - @icon('edit') - @endif -
-
- +
+
+ @include('pages.pointer', ['page' => $page]) @include('pages.page-display')
+
+ +
+
+ +
+
+ Next Page +
+
@if ($commentsEnabled) -
+ @@ -44,36 +46,37 @@ @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('partials.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)) - @icon('edit') + @icon('edit') {{ trans('common.edit') }} + @endif + @if(userCanOnAny('page-create')) - @icon('copy') + @icon('copy') {{ trans('common.copy') }} + @endif + @if(userCan('page-update', $page)) @if(userCan('page-delete', $page)) - @icon('folder') + @icon('folder') {{ trans('common.move') }} @endif - @icon('history') + @icon('history') {{ trans('entities.revisions') }} @endif @if(userCan('restrictions-manage', $page)) - @icon('lock') + @icon('lock') {{ trans('entities.permissions') }} @endif @if(userCan('page-delete', $page)) - @icon('delete') + @icon('delete') {{ trans('common.delete') }} @endif + +
+ + {{--Export--}} + @include('partials.entity-export-menu', ['entity' => $page])