@extends('agency.layouts.app') @section('title', 'Klasörler') @section('page_title', 'Disk') @php $fmtBytes = function ($bytes) { $bytes = (float) $bytes; $units = ['B', 'KB', 'MB', 'GB', 'TB']; $i = 0; while ($bytes >= 1024 && $i < count($units) - 1) { $bytes /= 1024; $i++; } return ($i === 0 ? number_format($bytes, 0) : number_format($bytes, 1, ',', '.')) . ' ' . $units[$i]; }; $types = \App\Models\Disk\DiskFolder::TYPES; @endphp @section('content')
| Klasör | Tür | Dosya | Boyut | Erişim | Oluşturma | |
|---|---|---|---|---|---|---|
|
@if($indent)@endif
{{ $folder->name }}
@if($folder->is_system) Sistem@endif
@if($folder->description)
@endif
|
{{ $folder->type_label }} | {{ $folder->item_count }} | {{ $fmtBytes($folder->total_size_bytes) }} | @if($folder->is_public) Açık @else Özel @endif | {{ $folder->created_at?->format('d.m.Y') }} |