New Wiki Launch (#2848)
This commit is contained in:
parent
83e493f2ae
commit
4194ec69d1
31 changed files with 98 additions and 49 deletions
|
|
@ -2,7 +2,7 @@
|
|||
<div class="container-fluid">
|
||||
|
||||
<p>
|
||||
{{t('description-part-1')}} <a href="https://wiki.kavitareader.com/en/guides/get-started-using-your-library/series-relationships" target="_blank" rel="noopener noreferrer" referrerpolicy="no-referrer">{{t('description-part-2')}}</a>
|
||||
{{t('description-part-1')}} <a [href]="WikiLink.SeriesRelationships" target="_blank" rel="noopener noreferrer" referrerpolicy="no-referrer">{{t('description-part-2')}}</a>
|
||||
</p>
|
||||
|
||||
<div class="row g-0" *ngIf="relations.length > 0">
|
||||
|
|
|
|||
|
|
@ -24,6 +24,7 @@ import {TypeaheadComponent} from "../../typeahead/_components/typeahead.componen
|
|||
import {CommonModule} from "@angular/common";
|
||||
import {TranslocoModule} from "@ngneat/transloco";
|
||||
import {RelationshipPipe} from "../../_pipes/relationship.pipe";
|
||||
import {WikiLink} from "../../_models/wiki";
|
||||
|
||||
interface RelationControl {
|
||||
series: {id: number, name: string} | undefined; // Will add type as well
|
||||
|
|
@ -55,6 +56,7 @@ export class EditSeriesRelationComponent implements OnInit {
|
|||
private readonly searchService = inject(SearchService);
|
||||
public readonly imageService = inject(ImageService);
|
||||
protected readonly RelationKind = RelationKind;
|
||||
protected readonly WikiLink = WikiLink;
|
||||
|
||||
@Input({required: true}) series!: Series;
|
||||
/**
|
||||
|
|
@ -188,5 +190,4 @@ export class EditSeriesRelationComponent implements OnInit {
|
|||
this.seriesService.updateRelationships(this.series.id, adaptations, characters, contains, others, prequels, sequels, sideStories, spinOffs, alternativeSettings, alternativeVersions, doujinshis, editions, annuals).subscribe(() => {});
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue