Back to Kavita

Metadata Detail Row.Component

UI/Web/src/app/series-detail/_components/metadata-detail-row/metadata-detail-row.component.html

0.9.01017 B
Original Source

@let releaseYearValue = releaseYear(); @let bytesValue = totalBytes(); @let readingTimeEntityValue = readingTimeEntity(); @let libraryTypeValue = libraryType(); @let mangaFormatValue = mangaFormat(); @let readingTimeLeftValue = readingTimeLeft(); @let entityValue = entity(); @if (entityValue.publishers.length > 0) {

{{entityValue.publishers[0].name}}

} @if ((libraryTypeValue === LibraryType.Book || libraryTypeValue === LibraryType.LightNovel) && mangaFormatValue !== MangaFormat.PDF) { {{t('words-count', {num: readingTimeEntityValue.wordCount | compactNumber})}} } @else { {{t('pages-count', {num: readingTimeEntityValue.pages | compactNumber})}} } @if (hasReadingProgress() && readingTimeLeftValue && readingTimeLeftValue.avgHours !== 0) { {{readingTimeLeftValue | readTimeLeft }} } @else { {{readingTimeEntityValue | readTime }} } @if (releaseYearValue) { {{releaseYearValue}} } @if (bytesValue && hasDownloadRole()) { {{bytesValue| bytes}} } @if (totalReads() > 0) { {{totalReads() | compactNumber}} }