diff --git a/searx/templates/oscar/messages/no_results.html b/searx/templates/oscar/messages/no_results.html index 82bf2f77a..7ad6423c5 100644 --- a/searx/templates/oscar/messages/no_results.html +++ b/searx/templates/oscar/messages/no_results.html @@ -2,11 +2,14 @@ {% if unresponsive_engines %}
{{ icon('remove-sign') }} {{ _('Error!') }} {{ _('Engines cannot retrieve results.') }}
+ {%- for engine_name, error_type in unresponsive_engines -%}- {% for engine_name, error_type in unresponsive_engines %} - {{ engine_name }} ({{ error_type }}){% if not loop.last %}, {% endif %} - {% endfor %} + {{- engine_name }} ( + + {{- error_type -}} + ){{- '' -}}
+ {%- endfor -%}{{ _('Please, try again later or find another searx instance.') }} ({{ _('Public instances') }})
{{ _("Failed checker test(s): ") }} {{ ', '.join(checker_result) }}
diff --git a/searx/templates/oscar/results.html b/searx/templates/oscar/results.html index df2d42430..ec84e489b 100644 --- a/searx/templates/oscar/results.html +++ b/searx/templates/oscar/results.html @@ -31,7 +31,12 @@{{ _('Engines cannot retrieve results') }}:
{%- for engine_name, error_type in unresponsive_engines -%} - {{- engine_name }} ({{ error_type }}){% if not loop.last %}, {% endif %}{{- "" -}} +{{- '' -}} + {{- engine_name }} ( + + {{- error_type -}} + ){{- '' -}} +
{%- endfor -%}{{ _('Error!') }} {{ _('Engines cannot retrieve results.') }}
-- {% for engine_name, error_type in unresponsive_engines %} - {{ engine_name }} ({{ error_type }}){% if not loop.last %}, {% endif %} - {% endfor %} + {% for engine_name, error_type in unresponsive_engines %} +
{{- '' -}} + {{- engine_name }} ( + + {{- error_type -}} + ){{- '' -}}
+ {%- endfor %} +{{ _('Please, try again later or find another searx instance.') }} ({{ _('Public instances') }})
{{ _("The checker fails on this tests: ") }} {{ ', '.join(checker_result) }}
diff --git a/searx/templates/simple/results.html b/searx/templates/simple/results.html index 7ece6c7ad..c53529edd 100644 --- a/searx/templates/simple/results.html +++ b/searx/templates/simple/results.html @@ -43,9 +43,13 @@ {% if unresponsive_engines and results|length >= 1 %}{{ _('Error!') }} {{ _('Engines cannot retrieve results') }}:
-{% for engine_name, error_type in unresponsive_engines %} - {{- engine_name }} ({{- error_type -}}){% if not loop.last %}, {% endif %} - {% endfor %}
+ {%- for engine_name, error_type in unresponsive_engines -%} +{{- engine_name }} ( + + {{- error_type -}} + ){{- '' -}} +
+ {% endfor %}