X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/9425f227fe440cb4d04480b274f8bab16cac89df..refs/pull/205/head:/resources/views/pages/show.blade.php diff --git a/resources/views/pages/show.blade.php b/resources/views/pages/show.blade.php index 937d52be1..af85075a2 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 @@
-
+