]> BookStack Code Mirror - bookstack/blobdiff - resources/views/pages/form-toolbox.blade.php
Update Ldap.php
[bookstack] / resources / views / pages / form-toolbox.blade.php
index 78e485eabffdf54467733ed7271f5b5a09f79967..a6e66a24a13f3e778924634faea57ce4af24fd69 100644 (file)
@@ -4,7 +4,7 @@
     <div class="tabs primary-background-light">
         <span toolbox-toggle><i class="zmdi zmdi-caret-left-circle"></i></span>
         <span toolbox-tab-button="tags" title="Page Tags" class="active"><i class="zmdi zmdi-tag"></i></span>
-        @if(userCan('file-create-all'))
+        @if(userCan('attachment-create-all'))
             <span toolbox-tab-button="files" title="Attachments"><i class="zmdi zmdi-attachment"></i></span>
         @endif
     </div>
         </div>
     </div>
 
-    @if(userCan('file-create-all'))
+    @if(userCan('attachment-create-all'))
         <div toolbox-tab-content="files" ng-controller="PageAttachmentController" page-id="{{ $page->id or 0 }}">
             <h4>Attachments</h4>
             <div class="padded files">
 
                 <div id="file-list" ng-show="!editFile">
-                    <p class="muted small">Upload some files or attach some link to display on your page. This are visible in the page sidebar.</p>
+                    <p class="muted small">Upload some files or attach some link to display on your page. These are visible in the page sidebar. <span class="secondary">Changes here are saved instantly.</span></p>
 
                     <div tab-container>
                         <div class="nav-tabs">
-                            <div tab-button="list" class="tab-item">File List</div>
+                            <div tab-button="list" class="tab-item">Attached Items</div>
                             <div tab-button="file" class="tab-item">Upload File</div>
                             <div tab-button="link" class="tab-item">Attach Link</div>
                         </div>