{{ t('notebook.pageTitle') }}

{{ t('notebook.pageDescription') }}

@if (loading) {
} @if (!loading && totalEntries === 0 && !searchQuery.trim() && selectedBookId === null && showHighlights && showNotes && showBookmarks) {

{{ t('notebook.noEntries') }}

{{ t('notebook.noEntriesHint') }}

} @if (!loading && totalEntries === 0 && (searchQuery.trim() || selectedBookId !== null || !showHighlights || !showNotes || !showBookmarks)) {

{{ t('notebook.noResults') }}

} @if (!loading && filteredGroups.length > 0) { @for (group of filteredGroups; track group.bookId) {
{{ group.bookTitle }} {{ group.entries.length }} {{ group.entries.length === 1 ? t('notebook.annotation') : t('notebook.annotations') }}
@if (!isGroupCollapsed(group.bookId)) {
@for (entry of group.entries; track entry.id + '-' + entry.type) {
{{ getTypeLabel(entry.type) }}
@if (entry.chapterTitle) { {{ entry.chapterTitle }} }
@if (entry.text) {
{{ entry.text }}
} @if (entry.note) {
{{ entry.note }}
}
}
}
} @if (totalEntries > pageSize) {
} }