diff options
| author | Alexandre Flament <alex@al-f.net> | 2022-07-08 20:24:00 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-07-08 20:24:00 +0200 |
| commit | 7e695c664453547aa251d2431f3e8fe4d1c9b2b1 (patch) | |
| tree | 70a7bd5f14615334ed5039ec62cc1ae454e93426 /searx/templates/simple/stats.html | |
| parent | ee4bc6b2346571e52dbc2d21541c4118390fe130 (diff) | |
| parent | be3ecf6e3137256fd6db49d374483eaa2b0b8ff1 (diff) | |
Merge pull request #1478 from dalf/submit_bug_workflow
Engine error log: Submit a new issue button: ask the user to check if there are some existing issues.
Diffstat (limited to 'searx/templates/simple/stats.html')
| -rw-r--r-- | searx/templates/simple/stats.html | 10 |
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 %} |