Add per-user font management permission (#2210)

Co-authored-by: acx10 <acx10@users.noreply.github.com>
This commit is contained in:
ACX
2026-01-08 19:19:14 -07:00
committed by GitHub
co-authored by acx10
parent 9877182b67
commit 15007143f9
25 changed files with 204 additions and 74 deletions
@@ -153,19 +153,21 @@
</div>
</div>
<div class="preferences-section">
<div class="section-header">
<h3 class="section-title">
<i class="pi pi-palette"></i>
Custom Fonts Management
</h3>
<p class="section-description">
Upload and manage up to 10 custom fonts for a personalized reading experience in the EPUB reader. Each font can then be selected in the EPUB reader settings.
</p>
@if (hasFontManagementPermission) {
<div class="preferences-section">
<div class="section-header">
<h3 class="section-title">
<i class="pi pi-palette"></i>
Custom Fonts Management
</h3>
<p class="section-description">
Upload and manage up to 10 custom fonts for a personalized reading experience in the EPUB reader. Each font can then be selected in the EPUB reader settings.
</p>
</div>
<div class="settings-card">
<app-custom-fonts></app-custom-fonts>
</div>
</div>
<div class="settings-card">
<app-custom-fonts></app-custom-fonts>
</div>
</div>
}
</div>
</div>