{{ __('Disk Usage') }} {{ $this->getData()['home'] }} @php $data = $this->getData(); $percent = min(100, max(0, $data['percent'])); $usedColor = match($data['color']) { 'danger' => '#ef4444', 'warning' => '#f59e0b', default => '#22c55e', }; @endphp @if($data['has_quota'])
@endif @if($data['has_quota'] && $data['free'])
{{ $data['used'] }}
{{ __('Used') }}
{{ $data['free'] }}
{{ __('Free') }}
{{ $data['quota'] }}
{{ __('Quota') }}
@else
{{ $data['used'] }}
{{ __('Used') }}
{{ $data['quota'] }}
{{ __('Quota') }}
@endif