From b6b0b8cba5c7ba067b42aea8e58e6632cbf912d1 Mon Sep 17 00:00:00 2001 From: Chris Amico Date: Thu, 29 Feb 2024 08:58:43 -0500 Subject: [PATCH] NoDocuments --- .../components/documents/NoDocuments.svelte | 59 +++++++++++++++++++ .../components/documents/ResultsList.svelte | 9 +-- 2 files changed, 62 insertions(+), 6 deletions(-) create mode 100644 src/lib/components/documents/NoDocuments.svelte diff --git a/src/lib/components/documents/NoDocuments.svelte b/src/lib/components/documents/NoDocuments.svelte new file mode 100644 index 000000000..ff5b21c40 --- /dev/null +++ b/src/lib/components/documents/NoDocuments.svelte @@ -0,0 +1,59 @@ + + +
+

{$_("noDocuments.noSearchResults")}

+
+ {@html emptyResultsSvg} +
+
+

+ {$_("noDocuments.queryNoResults")} +

+
+
+ + diff --git a/src/lib/components/documents/ResultsList.svelte b/src/lib/components/documents/ResultsList.svelte index 7472c50d2..edf72d174 100644 --- a/src/lib/components/documents/ResultsList.svelte +++ b/src/lib/components/documents/ResultsList.svelte @@ -7,14 +7,9 @@
@@ -23,6 +18,8 @@
+ {:else} + {/each}