UI/Web/src/app/nav/_components/download-queue-drawer/download-queue-drawer.component.html
@if (downloadService.isPaused()) { }
} @if (downloadService.failedItems().length > 0) { {{ t('failed') }} ({{ downloadService.failedItems().length }}) {{ t('clear-all') }}{{ t('retry-all') }}
@for (item of downloadService.failedItems(); track item.id; let last = $last) { @if (!last) {
} }
} @if (downloadService.queuedItems().length > 0) { {{ t('queued') }} ({{ downloadService.queuedItems().length }}){{ t('cancel-all') }} @for (item of downloadService.queuedItems(); track item.id; let last = $last) { @if (!last) {
} } } @if (!downloadService.activeItem() && downloadService.queuedItems().length === 0 && downloadService.failedItems().length === 0) { {{ t('empty') }} }
} } } @if (olderCount() > 0) { @if (completedToday().length > 0) {
} {{ t('older') }} ({{ olderCount() }}) {{ t('clear-all') }}
@for (item of olderItems(); track item.id; let last = $last) { @if (!last) {
} } } } @else { {{ t('empty') }} }