diff --git a/frontend/src/routes/+page.svelte b/frontend/src/routes/+page.svelte
index 3583e9bc..0a79add7 100644
--- a/frontend/src/routes/+page.svelte
+++ b/frontend/src/routes/+page.svelte
@@ -131,6 +131,12 @@ const showRightColumn = $derived(data.canWrite || (data.incompleteDocs?.length ?
{:else}
-
+
{/if}
diff --git a/frontend/src/routes/DocumentList.svelte b/frontend/src/routes/DocumentList.svelte
index 3802d3c9..c0d9d2dc 100644
--- a/frontend/src/routes/DocumentList.svelte
+++ b/frontend/src/routes/DocumentList.svelte
@@ -6,7 +6,9 @@ import { formatDate } from '$lib/utils/date';
let {
documents,
canWrite,
- error
+ error,
+ total = 0,
+ q = ''
}: {
documents: {
id: string;
@@ -20,6 +22,8 @@ let {
}[];
canWrite: boolean;
error?: string | null;
+ total?: number;
+ q?: string;
} = $props();
@@ -41,6 +45,11 @@ let {
{/if}
+
+{#if total > 0}
+
{m.docs_result_count({ count: total })}
+{/if}
+
{#if error}
@@ -162,7 +171,7 @@ let {
{m.docs_empty_heading()}
- {m.docs_empty_text()}
+ {q ? m.docs_empty_for_term({ term: q }) : m.docs_empty_text()}