From abe53946d43754fef96a1cd727ae97250c008184 Mon Sep 17 00:00:00 2001 From: Martin Fischer Date: Mon, 3 Jan 2022 21:37:17 +0100 Subject: [PATCH] [enh] display help text for "Other" engines tab in preferences --- searx/templates/oscar/preferences.html | 3 +++ searx/templates/simple/preferences.html | 3 +++ 2 files changed, 6 insertions(+) diff --git a/searx/templates/oscar/preferences.html b/searx/templates/oscar/preferences.html index 341c203b0..fe86ce39b 100644 --- a/searx/templates/oscar/preferences.html +++ b/searx/templates/oscar/preferences.html @@ -321,6 +321,9 @@
+ {% if categ == OTHER_CATEGORY %} +

{{_('This tab does not show up for search results but you can search the engines listed here via bangs.')}}

+ {% endif %}
diff --git a/searx/templates/simple/preferences.html b/searx/templates/simple/preferences.html index bec478f26..043f9d634 100644 --- a/searx/templates/simple/preferences.html +++ b/searx/templates/simple/preferences.html @@ -276,6 +276,9 @@ {{ tabs_open() }} {% for categ in categories_as_tabs + [OTHER_CATEGORY] %} {{ tab_header('enginetab', 'category' + categ, _(categ)) }} + {% if categ == OTHER_CATEGORY %} +

{{_('This tab does not show up for search results but you can search the engines listed here via bangs.')}}

+ {% endif %}