@if (list.isReloading) {
Loading... } @if (list.selected.size > 0) { {list.collectionSize, plural, =1 {Selected {{list.selected.size}} of one document} other {Selected {{list.selected.size}} of {{list.collectionSize || 0}} documents}} } @if (!list.isReloading) { @if (list.selected.size === 0) { {list.collectionSize, plural, =1 {One document} other {{{list.collectionSize || 0}} documents}} } @if (isFiltered) { (filtered) } } @if (!list.isReloading && isFiltered) { }
@if (list.collectionSize) { }
@if (list.error ) { } @else { @if (displayMode === 'largeCards') {
@for (d of list.documents; track trackByDocumentId($index, d)) { }
} @if (displayMode === 'details') { @if (notesEnabled) { } @for (d of list.documents; track trackByDocumentId($index, d)) { @if (notesEnabled) { } }
ASN Correspondent Title OwnerNotesDocument type Storage path Created Added
{{d.archive_serial_number}} @if (d.correspondent) { {{(d.correspondent$ | async)?.name}} } {{d.title | documentTitle}} @for (t of d.tags$ | async; track t) { } {{d.owner | username}} @if (d.notes.length) { {{d.notes.length}} } @if (d.document_type) { {{(d.document_type$ | async)?.name}} } @if (d.storage_path) { {{(d.storage_path$ | async)?.name}} } {{d.created_date | customDate}} {{d.added | customDate}}
} @if (displayMode === 'smallCards') {
@for (d of list.documents; track trackByDocumentId($index, d)) { }
} @if (list.documents?.length > 15) {
} }