From 69adc893d06a3a0c921a554399de0ac82ce845f6 Mon Sep 17 00:00:00 2001 From: neon_arch Date: Sat, 23 Sep 2023 12:53:18 +0300 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feat:=20add=20new=20error=20message?= =?UTF-8?q?=20to=20show=20when=20no=20engines=20are=20selected=20(#227)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/templates/search.html | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/public/templates/search.html b/public/templates/search.html index 8a79d69..513f122 100644 --- a/public/templates/search.html +++ b/public/templates/search.html @@ -45,6 +45,20 @@ Image of a paper inside a funnel + {{else}} {{#if noEnginesSelected}} +
+
+

+ No results could be fetched for your search "{{{this.pageQuery}}}" . +

+

Dear user,

+

+ No results could be retrieved from the upstream search engines as no + upstream search engines were selected from the settings page. +

+
+ Image of a white cross inside a red circle +
{{else}}

Your search - {{{this.pageQuery}}} - did not match any documents.

@@ -56,7 +70,7 @@ Man fishing gif
- {{/if}} {{/if}} {{/if}} + {{/if}} {{/if}} {{/if}} {{/if}}