mirror of
https://github.com/Kareadita/Kavita.git
synced 2026-04-25 02:19:49 -04:00
Co-authored-by: KindlyFire <10267586+kindlyfire@users.noreply.github.com> Co-authored-by: Hosted Weblate <hosted@weblate.org> Co-authored-by: Adam Havránek <adamhavra@seznam.cz> Co-authored-by: Aindriú Mac Giolla Eoin <aindriu80@gmail.com> Co-authored-by: Alexey <lewadedun@gmail.com> Co-authored-by: Anon Bitardov <timurvolga23+weblate@gmail.com> Co-authored-by: Ferran <ferrancette@gmail.com> Co-authored-by: Gneb <goozi12345@gmail.com> Co-authored-by: Robin Stolpe <robinstolpe@slashmad.com> Co-authored-by: 안세훈 <on9686@gmail.com> Co-authored-by: Tijl Van den Brugghen <contact@tijlvdb.me>
39 lines
1.4 KiB
HTML
39 lines
1.4 KiB
HTML
<div class="main-container container-fluid">
|
|
<ng-container *transloco="let t; prefix: 'bookmarks'">
|
|
<app-side-nav-companion-bar [hasFilter]="true" (filterOpen)="filterOpen.emit($event)" [filterActive]="filterActive">
|
|
<h4 title>
|
|
{{t('title')}}
|
|
</h4>
|
|
<h5 subtitle>{{t('series-count', {num: series().length | number})}}</h5>
|
|
</app-side-nav-companion-bar>
|
|
@if (filter) {
|
|
<app-card-detail-layout
|
|
[isLoading]="isLoadingBookmarks()"
|
|
[items]="bookmarkEntities()"
|
|
[filterSettings]="filterSettings"
|
|
[trackByIdentity]="trackByIdentity"
|
|
[refresh]="refresh"
|
|
[jumpBarKeys]="jumpbarKeys()"
|
|
(applyFilter)="updateFilter($event)"
|
|
>
|
|
|
|
<ng-template #topBar>
|
|
<app-bulk-operations />
|
|
</ng-template>
|
|
|
|
<ng-template #cardItem let-item let-position="idx">
|
|
<app-entity-card [entity]="item" [config]="bookmarkConfig()"
|
|
[index]="position" [maxIndex]="bookmarkEntities().length"
|
|
(reload)="clearBookmarks(item.data.series)"
|
|
|
|
/>
|
|
</ng-template>
|
|
|
|
<ng-template #noData>
|
|
{{t('no-data')}} <a [href]="WikiLink.Bookmarks" rel="noopener noreferrer" target="_blank">{{t('no-data-2')}}<i class="fa fa-external-link-alt ms-1" aria-hidden="true"></i></a>
|
|
</ng-template>
|
|
</app-card-detail-layout>
|
|
}
|
|
</ng-container>
|
|
</div>
|