Changeset 0df7a93 for resources/views/dashboard/folders/files.blade.php
- Timestamp:
- 10/24/21 20:55:11 (3 years ago)
- Branches:
- develop, master
- Children:
- 7043def
- Parents:
- e0d3f94
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
resources/views/dashboard/folders/files.blade.php
re0d3f94 r0df7a93 9 9 <div class="card"> 10 10 <div class="card-body"> 11 @if(auth()->user()->hasPermission('manage_all_folders')) 11 12 <a class="btn btn-secondary btn-block text-white" href="javascript:void(0)" data-target="#editModal_{{$folder->id}}" data-toggle="modal"> 12 13 Upload 13 14 </a> 15 @endif 14 16 </div> 15 17 <div class="app-sidebar-menu"> … … 35 37 <div class="action-left"> 36 38 <ul class="list-inline"> 39 @if(auth()->user()->hasPermission('manage_all_folders')) 37 40 <li class="list-inline-item mb-0"> 38 41 <a href="#" class="btn btn-outline-light dropdown-toggle" data-toggle="dropdown"> … … 43 46 Upload 44 47 </a> 45 46 48 </div> 47 49 </li> 50 @endif 48 51 <li class="list-inline-item mb-0"> 52 @if(auth()->user()->hasPermission('download_data')) 49 53 <a href="{{ route("dashboard.folders.downloadFolder", ['id' => $folder->id]) }}" class="btn btn-outline-light"> 50 54 Download folder 51 55 </a> 56 @endif 52 57 </li> 53 58 </ul> … … 100 105 </a> 101 106 <div class="dropdown-menu dropdown-menu-right"> 107 @if(auth()->user()->hasPermission('manage_all_files')) 102 108 <a href="javascript:void(0)" class="dropdown-item" data-toggle="modal" data-target="#editFileModal_{{$file->id}}"> 103 109 Rename 104 110 </a> 111 @endif 112 @if(auth()->user()->hasPermission('download_data')) 105 113 <a href="{{ route("dashboard.files.downloadFile", $file->id) }}" class="dropdown-item"> 106 114 Download 107 115 </a> 116 @endif 117 @if(auth()->user()->hasPermission('manage_all_files')) 108 118 <a href="javascript:void(0)" class="dropdown-item" data-toggle="modal" data-target="#deleteModal_{{$file->id}}"> 109 119 Delete 110 120 </a> 121 @endif 111 122 </div> 112 123 </div>
Note:
See TracChangeset
for help on using the changeset viewer.