X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/c32d70abc4f3cca4a8b3533d45b09d2a830d6a57..refs/pull/255/head:/resources/views/pages/show.blade.php diff --git a/resources/views/pages/show.blade.php b/resources/views/pages/show.blade.php index db5e51681..50c6f5d2c 100644 --- a/resources/views/pages/show.blade.php +++ b/resources/views/pages/show.blade.php @@ -2,30 +2,52 @@ @section('content') -
+
- @if($currentUser->can('page-update')) - Revisions - Edit + +
Export
+ +
+ @if(userCan('page-update', $page)) + Edit @endif - @if($currentUser->can('page-delete')) - Delete + @if(userCan('page-update', $page) || userCan('restrictions-manage', $page) || userCan('page-delete', $page)) + @endif +
@@ -33,10 +55,10 @@
-
+
+ +
+
+ @include('partials/highlight') +@stop +@section('scripts') - - @include('partials/highlight') @stop