@if(isset($buckets_array)) @forelse($buckets_array as $key => $bucket) @empty @endforelse @endif @if(isset($files_folder_array)) @php $pieces = explode('/', $dir_path); $prev_dir_path = implode('/', array_slice($pieces, 0, -2)); @endphp @forelse($files_folder_array as $key => $file_folder) @php $file_info = ''; $file_folder['upload_key'] = $dir_path.$file_folder['name']; @endphp @if($file_folder['type'] == 'file') @php $file_info = json_encode($file_folder); @endphp @endif @if($file_folder['type'] == 'file') @endif @empty @endforelse @endif
Name Size
storage-folder.png {{$bucket['name']}}
storage-folder.png ...
storage-folder.png {{$file_folder['name']}} {{formatSizeUnits($file_folder['size'])}}