@if($currentFolder)
我的專案資料夾
@foreach($breadcrumb as $crumb)
@if(!$loop->last)
$crumb->id]) }}" style="color:var(--bs-secondary-color);font-size:.95rem;text-decoration:none;">{{ $crumb->title }}
@else
{{ $crumb->title }}
@endif
@endforeach
@else
我的專案資料夾
@endif
{{-- Filter chips + view toggle --}}
此資料夾是空的
@can('contributeDoc', $project)
點擊上方按鈕新增文件或資料夾 @endcan
@else
@php
$folders = $items->where('file_type', 'folder');
$files = $items->where('file_type', '!=', 'folder');
@endphp
{{-- ===== GRID VIEW ===== --}}
點擊上方按鈕新增文件或資料夾 @endcan
@if($folders->isNotEmpty())
{{-- ===== LIST VIEW (Google Drive style) ===== --}}
@endif
資料夾
@foreach($folders as $item)
@endforeach
@endif
@if($files->isNotEmpty())
{{ $item->title }}
@can('contributeDoc', $project)
@endcan
檔案
@foreach($files as $item)
@php $isSheet = $item->file_type === 'spreadsheet'; $isFile = $item->file_type === 'file'; $isPres = $item->file_type === 'presentation'; @endphp
@endforeach
@endif