Display series name and number in table view

This commit is contained in:
aditya.chandel
2025-05-27 08:38:06 -07:00
committed by Aditya Chandel
parent 74c2f11531
commit 99650f0839
2 changed files with 11 additions and 4 deletions
@@ -21,6 +21,8 @@
<th pResizableColumn>Title</th>
<th pResizableColumn>Authors</th>
<th pResizableColumn>Publisher</th>
<th pResizableColumn>Series</th>
<th pResizableColumn>#</th>
<th pResizableColumn>Genres</th>
<th>Published</th>
<th>Last Read</th>
@@ -55,9 +57,11 @@
<td (click)="openMetadataCenter(book.id)">
<img [attr.src]="urlHelper.getCoverUrl(metadata.bookId, metadata?.coverUpdatedOn)" alt="Book Cover" class="size-7"/>
</td>
<td class="min-w-[15rem] max-w-[20rem] overflow-hidden truncate" [title]="metadata.title">{{ metadata.title }}</td>
<td class="min-w-[18rem] max-w-[25rem] overflow-hidden truncate" [title]="metadata.title">{{ metadata.title }}</td>
<td class="min-w-[10rem] max-w-[15rem] overflow-hidden truncate" [title]="getAuthorNames(metadata.authors)">{{ getAuthorNames(metadata.authors) }}</td>
<td class="min-w-[9rem] max-w-[13rem] overflow-hidden truncate" [title]="metadata.publisher">{{ metadata.publisher }}</td>
<td class="min-w-[9rem] max-w-[13rem] overflow-hidden truncate" [title]="metadata.seriesName">{{ metadata.seriesName }}</td>
<td class="min-w-[1rem] max-w-[1rem] overflow-hidden truncate" [title]="metadata.seriesNumber">{{ metadata.seriesNumber }}</td>
<td class="min-w-[12rem] max-w-[18rem] overflow-hidden truncate" [title]="getGenres(metadata.categories)">{{ getGenres(metadata.categories) }}</td>
<td class="min-w-[9rem] max-w-[9rem] overflow-hidden truncate">
{{ metadata.publishedDate ? (metadata.publishedDate | date: 'dd-MMM-yyyy') : '' }}