summaryrefslogtreecommitdiff
path: root/searx/templates/simple/results.html
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2023-05-28 12:02:53 +0200
committerMarkus Heiser <markus.heiser@darmarIT.de>2023-05-28 12:19:32 +0200
commit3ca97cf5e3f432b761553c912582449d12e43017 (patch)
tree696c767dcef4ba10519fa88be85d1c11c2519fe8 /searx/templates/simple/results.html
parent60b94dfdcac3c59a9b9009dc6d84c4a0a5d5bd90 (diff)
[fix] simple theme: move engine alerts in case of no results into sidebar
If there were no results but errors in the engines then the error dialogs of the engines was displayed in the result list. With the new design errors of the engines should only be displayed in the sidebar and at the same time duplications of the (template) code will be avoided. Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'searx/templates/simple/results.html')
-rw-r--r--searx/templates/simple/results.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/templates/simple/results.html b/searx/templates/simple/results.html
index edd0ebfb..c472d585 100644
--- a/searx/templates/simple/results.html
+++ b/searx/templates/simple/results.html
@@ -58,7 +58,7 @@
{%- include 'simple/elements/search_url.html' -%}
{%- endif -%}
- {%- if unresponsive_engines and results|length >= 1 -%}
+ {%- if unresponsive_engines -%}
{%- include 'simple/elements/engines_msg.html' -%}
{%- endif -%}