summaryrefslogtreecommitdiff
path: root/searx/templates/simple/stats.html
diff options
context:
space:
mode:
authorAlexandre Flament <alex@al-f.net>2022-07-03 11:03:20 +0200
committerAlexandre Flament <alex@al-f.net>2022-07-08 09:04:57 +0200
commiteb489c45ea74d10cfca4eefbca8c8da027f73963 (patch)
treeec748cdd69903d700ac3e73c7cb3cae5dd8dcd60 /searx/templates/simple/stats.html
parentcf01f9e603ebbf3997212dde1daff7510d2d7118 (diff)
downloadsearxng-eb489c45ea74d10cfca4eefbca8c8da027f73963.tar.gz
searxng-eb489c45ea74d10cfca4eefbca8c8da027f73963.zip
Submit GH bug: ask the user to do some checks before submitting a new issue
Diffstat (limited to 'searx/templates/simple/stats.html')
-rw-r--r--searx/templates/simple/stats.html10
1 files changed, 5 insertions, 5 deletions
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 @@
</table>
{% endif %}
-<div>
- {% if selected_engine_name %}
+{% if selected_engine_name %}
+ <div class="engine-errors">
{% 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 %}
- <h3>{% if secondary %}{{ _('Warnings') }}{% else %}{{ _('Errors and exceptions') }}{% endif %}</h3>
+ <h2>{% if secondary %}{{ _('Warnings') }}{% else %}{{ _('Errors and exceptions') }}{% endif %}</h2>
{% endif %}
<table class="engine-error">
<tbody>
@@ -145,7 +145,7 @@
</table>
{% endif %}
{{ new_issue(selected_engine_name, engine_reliabilities[selected_engine_name]) }}
- {% endif %}
-</div>
+ </div>
+{% endif %}
{% endblock %}