mirror of
https://github.com/searxng/searxng.git
synced 2024-11-16 17:40:11 +01:00
3ca97cf5e3
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>
24 lines
780 B
HTML
24 lines
780 B
HTML
<div id="engines_msg">
|
|
<details class="sidebar-collapsable">
|
|
<summary class="title" id="engines_msg-title">{{ _('Messages from the search engines') }}</summary>
|
|
<div class="dialog-error" role="alert">
|
|
{{ icon_big('warning') }}
|
|
<div>
|
|
<p>
|
|
<strong>{{ _('Error!') }}</strong>
|
|
{{ _('Engines cannot retrieve results') }}:
|
|
</p>
|
|
{%- for engine_name, error_type in unresponsive_engines -%}
|
|
<p>{{- engine_name }} (
|
|
<a href="{{ url_for('stats', engine=engine_name|e) }}"
|
|
title="{{ _('View error logs and submit a bug report') }}">
|
|
{{- error_type -}}
|
|
</a>
|
|
){{- '' -}}
|
|
</p>
|
|
{%- endfor -%}
|
|
</div>
|
|
</div>
|
|
</details>
|
|
</div>
|