From 33e722f83b56a984d73868bf36817cb0df0b9cc4 Mon Sep 17 00:00:00 2001 From: Emilien Devos <4016501+unixfox@users.noreply.github.com> Date: Mon, 18 Sep 2023 21:41:52 +0200 Subject: better error message when no results found --- searx/templates/simple/elements/engines_msg.html | 4 ++++ searx/templates/simple/messages/no_results.html | 10 ++++++++-- 2 files changed, 12 insertions(+), 2 deletions(-) (limited to 'searx/templates/simple') diff --git a/searx/templates/simple/elements/engines_msg.html b/searx/templates/simple/elements/engines_msg.html index 33f31842d..db1cefaaf 100644 --- a/searx/templates/simple/elements/engines_msg.html +++ b/searx/templates/simple/elements/engines_msg.html @@ -1,5 +1,9 @@
+ {% if not results and not answers %} +