Back to Kavita

Card Detail Layout.Component

UI/Web/src/app/cards/card-detail-layout/card-detail-layout.component.html

0.9.0713 B
Original Source

@if (header().length > 0) {

{{header()}} @if (effectivePagination(); as p) { {{p.totalItems}} }

} @if (filterSettings(); as fs) { }

@if (items().length === 0 && !isLoading()) {

} @for (item of scroll.viewPortItems; track trackItem(i, item); let i = $index) {

}

@if (jumpBarKeysToRender().length >= 4 && items().length > 0 && scroll.viewPortInfo.maxScrollPosition > 0) { }

@for (item of scroll.viewPortItems; track trackItem(i, item); let i = $index) {

} @if (items().length === 0 && !isLoading()) {

@if (noDataTemplate()) { } @else { {{t('no-data')}} }

} @for(jumpKey of jumpBarKeysToRender(); track jumpKey.key; let i = $index) {

{{jumpKey.title}}

{{jumpKey.size}}

}