+ @if (coverBook$ | async; as coverBook) {
+
- @for (author of firstBook.metadata?.authors; track $index; let isLast = $last) {
-
- {{ author }}
-
- @if (!isLast) {
- ,
+
+
{{ seriesTitle$ | async }}
+
+ @if (allAuthors$ | async; as authors) {
+
+ @for (author of authors; track $index; let isLast = $last) {
+ {{ author }}
+ @if (!isLast) {, }
+ }
+
+ }
+
+ @if (allCategories$ | async; as categories) {
+ @if (categories.length) {
+
+ }
+ }
+
+
+ @if (allPublishers$ | async; as publishers) {
+ @if (publishers.length) {
+
+
+ @for (pub of publishers; track pub; let isLast = $last) {
+ {{ pub }}{{ isLast ? '' : ', ' }}
+ }
+
}
}
-
-
-
- @if (firstBook.metadata?.categories?.length) {
-
- }
-
-
-
-
- @if (isExpanded || isOverflowing) {
-
-
- }
-
+
+ @if (seriesStats$ | async; as stats) {
+ @if (stats.avgPersonalRating != null || stats.avgGoodreads != null || stats.avgAmazon != null || stats.avgHardcover != null) {
+
+ @if (stats.avgPersonalRating != null) {
+
+
+ {{ stats.avgPersonalRating | number:'1.1-1' }}/10
+ {{ t('stats.avgPersonalRating') }}
+
+ }
+ @if (stats.avgGoodreads != null) {
+
+
+ {{ getRatingPercent(stats.avgGoodreads) }}%
+ {{ t('stats.avgGoodreads') }}
+
+ }
+ @if (stats.avgAmazon != null) {
+
+
+ {{ getRatingPercent(stats.avgAmazon) }}%
+ {{ t('stats.avgAmazon') }}
+
+ }
+ @if (stats.avgHardcover != null) {
+
+
+ {{ getRatingPercent(stats.avgHardcover) }}%
+ {{ t('stats.avgHardcover') }}
+
+ }
+
+ }
+ }
+
+
+
+ @if (nextUp$ | async; as nextUp) {
+
+
![]()
+
+
+
+ {{ nextUp.isReading ? t('continueReading') : t('nextUp') }}
+
+
{{ nextUp.book.metadata?.title || '' }}
+ @if (nextUp.isReading && nextUp.progressPercent != null) {
+
+
+
+
{{ nextUp.progressPercent }}%
+
+ }
+
+
+ }
+
+ @if (readStatusBreakdown$ | async; as segments) {
+ @if (segments.length) {
+
+
+
+ @for (seg of segments; track seg.status) {
+
+
+ }
+
+
+ @for (seg of segments; track seg.status) {
+
+
+ {{ getStatusLabel(seg.status) }} ({{ seg.count }})
+
+ }
+ @let readProg = seriesReadProgress$ | async;
+ @if (readProg) {
+
+ {{ t('readPercent', { progress: readProg }) }}
+
+ }
+
+
+
+ }
+ }
+
-
- @for (book of books; track book; let i = $index) {
-
- }
- @if (books.length === 0) {
-
{{ t('noBooksFound') }}
- }
+
+
+
+
+
+
+ @if (isExpanded || isOverflowing) {
+
+ }
+
+
+
+
+
+ {{ t('booksInSeries') }}
+
+
+ @for (book of books; track book; let i = $index) {
+
+ }
+ @if (books.length === 0) {
+
{{ t('noBooksFound') }}
+ }
+
+