CBL Import Polish 4 (#4576)

This commit is contained in:
Joe Milazzo
2026-03-31 15:23:01 -05:00
committed by GitHub
parent f6796583bc
commit c8bcbc3d58
35 changed files with 979 additions and 420 deletions
@@ -3,7 +3,7 @@
<div class="position-relative">
@if (!accountService.hasReadOnlyRole()) {
<div class="position-absolute custom-position d-flex gap-2">
<button class="btn btn-outline-primary" (click)="selectedList.set(undefined)" [title]="t('add')">
<button class="btn btn-outline-primary" [disabled]="selectedList() === undefined" (click)="selectedList.set(undefined)" [title]="t('add')">
<i class="fa fa-plus" aria-hidden="true"></i><span class="phone-hidden ms-1">{{t('add')}}</span>
</button>
<button class="btn btn-outline-primary" (click)="openBrowseModal()" [title]="t('browse-repo')">
@@ -149,7 +149,7 @@
</div>
@if (selectedItem.canSync) {
<span class="pill p-1 me-1 provider">{{selectedItem.provider | readingListProvider}}</span>
<span class="pill p-1 me-1 provider">{{t('can-sync')}}</span>
}
<div class="text-muted mt-1" style="font-size: 0.9rem;">
@@ -160,7 +160,7 @@
@if (selectedItem.ageRating) {
<span> · </span>
}
<span>{{selectedItem.startingMonth}}/{{selectedItem.startingYear}} {{selectedItem.endingMonth}}/{{selectedItem.endingYear}}</span>
<span>{{selectedItem.startingYear}} {{selectedItem.endingYear}}</span>
}
@if (selectedItem.ageRating || selectedItem.startingYear > 0) {
<span> · </span>
@@ -192,7 +192,7 @@
}
} @else {
<p>You lack the ability to interact with this content.</p>
<p>{{t('not-authorized')}}</p>
}
</div>
</form>