summaryrefslogtreecommitdiff
path: root/searx/templates/simple/messages
diff options
context:
space:
mode:
Diffstat (limited to 'searx/templates/simple/messages')
-rw-r--r--searx/templates/simple/messages/no_results.html12
1 files changed, 8 insertions, 4 deletions
diff --git a/searx/templates/simple/messages/no_results.html b/searx/templates/simple/messages/no_results.html
index df75ef228..b7f02167e 100644
--- a/searx/templates/simple/messages/no_results.html
+++ b/searx/templates/simple/messages/no_results.html
@@ -2,11 +2,15 @@
{% if unresponsive_engines %}
<div class="dialog-error" role="alert">
<p><strong>{{ _('Error!') }}</strong> {{ _('Engines cannot retrieve results.') }}</p>
- <p>
- {% 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 %}
+ <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 %}
+
<p><small>{{ _('Please, try again later or find another searx instance.') }} (<a href="{{ brand.PUBLIC_INSTANCES }}">{{ _('Public instances') }}</a>) </small></p>
</div>
{% else %}