{{ 'DOWNLOADS.TITLE' | translate }}

@if (activeCount() > 0) { {{ 'DOWNLOADS.ACTIVE_COUNT' | translate: { count: activeCount() } }} }
@if (isAvailable()) {
{{ 'DOWNLOADS.TRACKED_DOWNLOADS' | translate }} {{ formatBytes(model().trackedBytes) }}
}
@if (isAvailable()) {
@if (downloadFolder(); as folder) { @if (downloadFolderParts().prefix) { } } @else { {{ 'DOWNLOADS.NO_FOLDER' | translate }} }
@if (model().hasClearable) { }
}
@if ( isAvailable() && playlistsLoaded() && (!hasNoPlaylists() || hasScopedDownloads()) ) { }
@if (!isAvailable()) {

{{ 'DOWNLOADS.NOT_AVAILABLE' | translate }}

{{ 'DOWNLOADS.DESKTOP_ONLY' | translate }}

} @else if (!playlistsLoaded()) {
{{ 'CHANNELS.LOADING' | translate }} @for (slot of skeletonItems; track slot) { }
} @else if (showDownloadSkeleton()) {
{{ 'CHANNELS.LOADING' | translate }} @for (slot of skeletonItems; track slot) { }
} @else if (hasNoPlaylists() && !hasScopedDownloads()) { } @else if (!hasScopedDownloads()) { } @else if (!hasVisibleDownloads()) {

{{ 'DOWNLOADS.NO_FILTER_MATCH' | translate }}

{{ 'DOWNLOADS.NO_FILTER_MATCH_HINT' | translate }}

} @else { }