@if ((loading | async) === true) {
@for (_ of [1, 2, 3, 4, 5]; track $index) { }
@for (_ of [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15]; track $index) {
}
} @else if ((emptyKb | async) === true) { @if (uploadInProgress | async) { } @else {
{{ 'resource.empty.title' | translate }}
{{ 'resource.empty.description' | translate }}
@if (isAdminOrContrib | async) {
}
} } @else if ((emptyKb | async) === false) {
{{ 'resource.filter.resource-type' | translate }} {{ selectedMainTypeOptions.length ? '(' + selectedMainTypeOptions.length + ')' : '' }} @for (option of filterOptions.mainTypes; track option.id) { {{ option.label }} }
{{ 'resource.classification-column' | translate }} {{ selectedClassifications.length ? '(' + selectedClassifications.length + ')' : '' }} @if (selectedClassificationOptions.length > 1) {
{{ andLogicForLabels ? 'AND' : 'OR' }} {{ (andLogicForLabels ? 'resource.filter.and' : 'resource.filter.or') | translate }}
}
{{ 'resource.filter.date-added' | translate }} {{ selectedDates.length ? '(' + selectedDates.length + ')' : '' }}
@if (dateFilters.isDisplayed) {
{{ 'generic.cancel' | translate }} {{ 'resource.filter.apply' | translate }}
}
@if (hiddenResourcesEnabled | async) {
{{ 'resource.visibility' | translate }} {{ filterOptions.hidden !== undefined ? '(1)' : '' }} {{ 'resource.hidden' | translate }} {{ 'resource.non-hidden' | translate }}
} @if (isMainView || isProcessedView) { {{ 'stash.search' | translate }} }
@if (isAdminOrContrib | async) { }
@if (!isMainView || ((statusCount | async)?.pending || 0) + ((statusCount | async)?.error || 0) > 0) { @if ((statusCount | async)?.processed || 0 > 0) { {{ 'resource.processed' | translate }} ({{ (statusCount | async)?.processed }}) } @if ((statusCount | async)?.pending || 0 > 0) { {{ 'resource.processing' | translate }} ({{ (statusCount | async)?.pending }}) } @if ((statusCount | async)?.error || 0 > 0) { {{ 'resource.errors' | translate }} ({{ (statusCount | async)?.error }}) } } @if (isFiltering | async) {
{{ 'resource.filtered-by' | translate }}
} @for (option of selectedClassificationOptions; track option.value) { {{ option.label }} } @for (option of selectedMainTypeOptions; track option.value) { {{ option.label }} } @if (filterOptions.creation.start) { {{ 'resource.filter.from' | translate }}: {{ filterOptions.creation.start.date | date: 'mediumDate' }} } @if (filterOptions.creation.end) { {{ 'resource.filter.until' | translate }}: {{ filterOptions.creation.end.date | date: 'mediumDate' }} } @if (filterOptions.hidden === true) { {{ 'resource.hidden' | translate }} } @if (filterOptions.hidden === false) { {{ 'resource.non-hidden' | translate }} } @if (showClearButton | async) { {{ 'resource.filter.clear' | translate }} }
@if (isMainView) { } @else if (isProcessedView) { } @else if (isPendingView) { } @else if (isErrorView) { }
}