New Wiki Launch (#2848)

This commit is contained in:
Joe Milazzo 2024-04-12 16:34:49 -05:00 committed by GitHub
parent 83e493f2ae
commit 4194ec69d1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
31 changed files with 98 additions and 49 deletions

View file

@ -27,7 +27,7 @@
<ng-template #noData>
{{t('no-data')}}
@if(isAdmin$ | async) {
{{t('create-one-part-1')}} <a href="https://wiki.kavitareader.com/en/guides/get-started-using-your-library/collections" rel="noopener noreferrer" target="_blank">{{t('create-one-part-2')}}<i class="fa fa-external-link-alt ms-1" aria-hidden="true"></i></a>
{{t('create-one-part-1')}} <a [href]="WikiLink.Collections" rel="noopener noreferrer" target="_blank">{{t('create-one-part-2')}}<i class="fa fa-external-link-alt ms-1" aria-hidden="true"></i></a>
}
</ng-template>
</app-card-detail-layout>

View file

@ -41,6 +41,7 @@ import {BulkSelectionService} from "../../../cards/bulk-selection.service";
import {SeriesCardComponent} from "../../../cards/series-card/series-card.component";
import {ActionService} from "../../../_services/action.service";
import {KEY_CODES} from "../../../shared/_services/utility.service";
import {WikiLink} from "../../../_models/wiki";
@Component({
@ -69,6 +70,7 @@ export class AllCollectionsComponent implements OnInit {
public readonly actionService = inject(ActionService);
protected readonly ScrobbleProvider = ScrobbleProvider;
protected readonly WikiLink = WikiLink;
isLoading: boolean = true;
collections: UserCollection[] = [];