From eb489c45ea74d10cfca4eefbca8c8da027f73963 Mon Sep 17 00:00:00 2001 From: Alexandre Flament Date: Sun, 3 Jul 2022 11:03:20 +0200 Subject: Submit GH bug: ask the user to do some checks before submitting a new issue --- searx/templates/simple/stats.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'searx/templates/simple/stats.html') diff --git a/searx/templates/simple/stats.html b/searx/templates/simple/stats.html index 9cc035cfd..378fedd43 100644 --- a/searx/templates/simple/stats.html +++ b/searx/templates/simple/stats.html @@ -91,15 +91,15 @@ {% endif %} -
- {% if selected_engine_name %} +{% if selected_engine_name %} +
{% for secondary in [False, True] %} {% set ns = namespace(first=true) %} {% for error in engine_reliabilities[selected_engine_name].errors %} {% if secondary == error.secondary %} {% if ns.first %} {% set ns.first = false %} -

{% if secondary %}{{ _('Warnings') }}{% else %}{{ _('Errors and exceptions') }}{% endif %}

+

{% if secondary %}{{ _('Warnings') }}{% else %}{{ _('Errors and exceptions') }}{% endif %}

{% endif %} @@ -145,7 +145,7 @@
{% endif %} {{ new_issue(selected_engine_name, engine_reliabilities[selected_engine_name]) }} - {% endif %} -
+
+{% endif %} {% endblock %} -- cgit v1.2.3