mirror of
https://github.com/Kareadita/Kavita.git
synced 2026-01-08 21:20:22 -05:00
* Updated ngx-virtual-scroller * Removed the karma test config as it's breaking migration * Reverted to pre angular 15 * Upgraded packages and reverted target to ES6 for older devices * It's broken. Need to also find the safari version for old Ipads * Fixes some code in default pipe and many updates to packages. Removed support for old iOS versions as it restricted Kavita from using newer features. Build still broken. * More progress in getting build working on Angular 15. Removed polyfills.ts for new angular config * Remove all.css for icons and use scss instead * Removed stuff that isn't needed * Migrated extended linting to eslint, ran on project and updated issues. Removed a duplicate component that did nothing. Fixed a few places where lifecycle hooks werent being called as interface wasn't implemented. * App builds correctly. Source maps are still needed. * Fixed source maps and removed more testing stuff. I will re-add later in another release when I figure out how to properly tackle dependencies on backend. * Reverted back to old source map definition
29 lines
1.4 KiB
HTML
29 lines
1.4 KiB
HTML
<ng-container [ngSwitch]="libraryType">
|
|
<ng-container *ngSwitchCase="LibraryType.Comic">
|
|
<ng-container *ngIf="titleName !== '' && prioritizeTitleName; else fullComicTitle">
|
|
{{titleName}}
|
|
</ng-container>
|
|
<ng-template #fullComicTitle>
|
|
{{seriesName.length > 0 ? seriesName + ' - ' : ''}}
|
|
<ng-container *ngIf="includeVolume && volumeTitle !== ''">
|
|
{{entity.number !== 0 ? (isChapter && includeVolume ? volumeTitle : '') : ''}}
|
|
</ng-container>
|
|
{{entity.number !== 0 ? (isChapter ? 'Issue #' + entity.number : volumeTitle) : 'Special'}}
|
|
</ng-template>
|
|
</ng-container>
|
|
<ng-container *ngSwitchCase="LibraryType.Manga">
|
|
<ng-container *ngIf="titleName !== '' && prioritizeTitleName; else fullMangaTitle">
|
|
{{titleName}}
|
|
</ng-container>
|
|
<ng-template #fullMangaTitle>
|
|
{{seriesName.length > 0 ? seriesName + ' - ' : ''}}
|
|
<ng-container *ngIf="includeVolume && volumeTitle !== ''">
|
|
{{entity.number !== 0 ? (isChapter && includeVolume ? volumeTitle : '') : ''}}
|
|
</ng-container>
|
|
{{entity.number !== 0 ? (isChapter ? 'Chapter ' + entity.number : volumeTitle) : 'Special'}}
|
|
</ng-template>
|
|
</ng-container>
|
|
<ng-container *ngSwitchCase="LibraryType.Book">
|
|
{{volumeTitle}}
|
|
</ng-container>
|
|
</ng-container> |