Final UI touches

This commit is contained in:
Amelia 2025-05-09 14:46:02 +02:00
parent 5ef727479b
commit a5c1c2e75f
No known key found for this signature in database
GPG key ID: D6D0ECE365407EAA
5 changed files with 12 additions and 5 deletions

View file

@ -6,6 +6,9 @@ export enum LibraryType {
Book = 2, Book = 2,
Images = 3, Images = 3,
LightNovel = 4, LightNovel = 4,
/**
* Comic (Legacy)
*/
ComicVine = 5 ComicVine = 5
} }

View file

@ -52,7 +52,7 @@
<app-badge-expander [items]="person.aliases" <app-badge-expander [items]="person.aliases"
[itemsTillExpander]="6"> [itemsTillExpander]="6">
<ng-template #badgeExpanderItem let-item let-position="idx" let-last="last"> <ng-template #badgeExpanderItem let-item let-position="idx" let-last="last">
<a href="javascript:void(0)" class="dark-exempt btn-icon">{{item}}</a> <span>{{item}}</span>
</ng-template> </ng-template>
</app-badge-expander> </app-badge-expander>
</div> </div>

View file

@ -7,6 +7,9 @@
overflow: hidden; overflow: hidden;
} }
::ng-deep .badge-expander .content a { ::ng-deep .badge-expander .content {
a,
span {
font-size: 0.8rem; font-size: 0.8rem;
} }
}

View file

@ -130,7 +130,8 @@ export class LibrarySettingsModalComponent implements OnInit {
get IsMetadataDownloadEligible() { get IsMetadataDownloadEligible() {
const libType = parseInt(this.libraryForm.get('type')?.value + '', 10) as LibraryType; const libType = parseInt(this.libraryForm.get('type')?.value + '', 10) as LibraryType;
return libType === LibraryType.Manga || libType === LibraryType.LightNovel || libType === LibraryType.ComicVine; return libType === LibraryType.Manga || libType === LibraryType.LightNovel
|| libType === LibraryType.ComicVine || libType === LibraryType.Comic;
} }
ngOnInit(): void { ngOnInit(): void {

View file

@ -1003,7 +1003,7 @@
"save": "{{common.save}}", "save": "{{common.save}}",
"no-results": "Unable to find a match. Try adding the url from a supported provider and retry.", "no-results": "Unable to find a match. Try adding the url from a supported provider and retry.",
"query-label": "Query", "query-label": "Query",
"query-tooltip": "Enter series name, AniList/MyAnimeList url. Urls will use a direct lookup.", "query-tooltip": "Enter series name, AniList/MyAnimeList/ComicBookRoundup url. Urls will use a direct lookup.",
"dont-match-label": "Do not Match", "dont-match-label": "Do not Match",
"dont-match-tooltip": "Opt this series from matching and scrobbling", "dont-match-tooltip": "Opt this series from matching and scrobbling",
"search": "Search" "search": "Search"