{{ 'downloads.title' | t }}
@if (quota(); as q) {
{{ 'downloads.quota' | t }}
{{ formatBytes(q.usedBytes) }} / {{ formatBytes(q.quotaBytes) }}
@if (quotaPct(); as pct) {
}
}
@if (error(); as err) {
{{ err }}
}
@if (fileError(); as ferr) {
{{ ferr }}
}
@if (loading()) {
{{ 'loading.more' | t }}
}
@if (!loading() && filteredItems().length === 0) {
{{ 'downloads.empty' | t }}
}
@for (job of filteredItems(); track job.id) {
-
{{ 'downloads.state.' + job.state | t }}
@if (job.audioOnly) {
{{ 'downloads.audioOnly' | t }}
}
@if (job.fileSize) {
{{ formatBytes(job.fileSize) }}
}
@if (job.error) {
{{ job.error }}
}
@if (isActive(job)) {
}
@if (job.state === 'completed') {
{{ 'downloads.play' | t }}
}
@if (job.state === 'failed' || job.state === 'interrupted') {
}
}