summaryrefslogtreecommitdiff
path: root/searx
diff options
context:
space:
mode:
authorNoémi Ványi <sitbackandwait@gmail.com>2017-07-15 17:59:50 +0200
committerNoémi Ványi <sitbackandwait@gmail.com>2017-07-15 17:59:50 +0200
commitbdd9528c6b589a2f55dbde050583bebbba40d898 (patch)
tree26d830b0429d3ed19f75f9ae96aa437e02a69ec4 /searx
parent243d3e4298c93014f37ca6f1f957a60cb09f4ae1 (diff)
downloadsearxng-bdd9528c6b589a2f55dbde050583bebbba40d898.tar.gz
searxng-bdd9528c6b589a2f55dbde050583bebbba40d898.zip
show engine errors when no result is returned at all
Diffstat (limited to 'searx')
-rw-r--r--searx/templates/oscar/messages/no_results.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/searx/templates/oscar/messages/no_results.html b/searx/templates/oscar/messages/no_results.html
index 5acc205ed..16b5984ba 100644
--- a/searx/templates/oscar/messages/no_results.html
+++ b/searx/templates/oscar/messages/no_results.html
@@ -2,6 +2,11 @@
{% if unresponsive_engines %}
<div class="alert alert-danger fade in" role="alert">
<p><strong class="lead">{{ icon('remove-sign') }} {{ _('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 %}
+ </p>
<p><small>{{ _('Please, try again later or find another searx instance.') }}</small></p>
</div>
{% else %}