UI/Web/src/app/_single-module/details-tab/details-tab.component.html
@let filesValue = files(); @let filePathsValue = filePaths(); @let bm = basicMetadata(); @if (accountService.hasAdminRole() && (filePathsValue.length > 0 || filesValue.length > 0)) {
@for (fp of filePathsValue; track $index) { {{fp}} } @empty { @for (fp of filesValue; track fp.id) {
{{fp.filePath}}
{{t('pages-count', {num: fp.pages | compactNumber})}}{{t('bytes-count', {num: fp.bytes | bytes})}} @if (fp.koreaderHash) { KOReader ✓ }
} } } @if (showBasicMetadata() && bm) {
{{t('basic-metadata-title')}}
@if (bm.readingTime) { } @if (bm.sortOrder != null) { } @if (bm.isSpecial != null) { } @if (bm.publicationStatus != null) { }
} @let metadataEntity = entity(); @if (metadataEntity) {
} @if (webLinks().length > 0) {
@for (link of webLinks(); track $index) { }
} @if (metadataEntity || webLinks().length > 0) {
} @if (showGenres()) {
@if (genres().length > 0) { @for (item of genres(); track item.id) { {{item.title}} } } @else { {{null | defaultValue}} }
} @if (showTags()) {
@if (tags().length > 0) { @for (item of tags(); track item.id) { {{item.title}} } } @else { {{null | defaultValue}} }
} @if (hasUpperMetadata()) {
}