Changeset 0df7a93 for resources/views/dashboard/files
- 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/files/index.blade.php
re0d3f94 r0df7a93 20 20 </nav> 21 21 <div class="dropdown"> 22 @if(auth()->user()->hasPermission('manage_all_files')) 22 23 <a href="javascript:void(0)" data-toggle="modal" data-target="#createModal" class="btn btn-primary text-white"> 23 24 <i class="fa fa-upload pr-1"></i> Upload 24 25 </a> 26 @endif 27 @if(auth()->user()->hasPermission('download_data')) 25 28 <a href="{{ route("dashboard.departments.downloadAll") }}" class="btn btn-danger text-white"> 26 29 <i class="fa fa-download pr-1"></i> Download 27 30 </a> 31 @endif 32 @if(auth()->user()->hasPermission('export_data')) 28 33 <a href="{{ route('dashboard.files.export') }}" class="btn btn-success text-white"> 29 34 <i class="fa fa-table pr-1"></i> Export 30 35 </a> 36 @endif 31 37 </div> 32 38 </div> … … 103 109 </svg></button> 104 110 </td> 111 @if(auth()->user()->hasPermission('manage_all_files')) 105 112 <td> 106 113 <a href="javascript:void(0)" class="text-secondary" data-toggle="modal" data-target="#editModal_{{$file->id}}" title="Edit"> … … 114 121 </a> 115 122 </td> 123 @else 124 <td></td> 125 @endif 116 126 </tr> 117 127 <div class="modal fade" id="deleteModal_{{$file->id}}" tabindex="-1" role="dialog" aria-hidden="true">
Note:
See TracChangeset
for help on using the changeset viewer.