mirror of
https://github.com/ad-aures/castopod.git
synced 2026-04-13 19:47:45 +02:00
style: update ecs config to align associative arrays arrows
update composer dependencies to latest
This commit is contained in:
parent
3fc1d8e18d
commit
2a50f6e4d2
268 changed files with 3833 additions and 3973 deletions
|
|
@ -59,8 +59,8 @@ class DashboardController extends BaseController
|
|||
}
|
||||
|
||||
$storageData = [
|
||||
'limit' => formatBytes((int) $storageLimitBytes),
|
||||
'percentage' => round((((int) $totalUploaded['file_size']) / $storageLimitBytes) * 100, 0),
|
||||
'limit' => formatBytes((int) $storageLimitBytes),
|
||||
'percentage' => round((((int) $totalUploaded['file_size']) / $storageLimitBytes) * 100, 0),
|
||||
'total_uploaded' => formatBytes((int) $totalUploaded['file_size']),
|
||||
];
|
||||
|
||||
|
|
@ -74,11 +74,11 @@ class DashboardController extends BaseController
|
|||
->bandwidthLimit;
|
||||
|
||||
$data = [
|
||||
'podcastsData' => $podcastsData,
|
||||
'episodesData' => $episodesData,
|
||||
'storageData' => $storageData,
|
||||
'podcastsData' => $podcastsData,
|
||||
'episodesData' => $episodesData,
|
||||
'storageData' => $storageData,
|
||||
'bandwidthLimit' => $bandwidthLimit === null ? null : formatBytes($bandwidthLimit * 1000000000),
|
||||
'onlyPodcastId' => $onlyPodcastId,
|
||||
'onlyPodcastId' => $onlyPodcastId,
|
||||
];
|
||||
|
||||
return view('dashboard', $data);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue