on master help sign in
show engine errors when no result is returned at all
bdd9528Noémi Ványi
searx/templates/oscar/messages/no_results.html+5
@@ -2,6 +2,11 @@
2{% if unresponsive_engines %}
2{% if unresponsive_engines %}
3<div class="alert alert-danger fade in" role="alert">
3<div class="alert alert-danger fade in" role="alert">
4 <p><strong class="lead">{{ icon('remove-sign') }} {{ _('Error!') }}</strong> {{ _('Engines cannot retrieve results.') }}</p>
4 <p><strong class="lead">{{ icon('remove-sign') }} {{ _('Error!') }}</strong> {{ _('Engines cannot retrieve results.') }}</p>
5+ <p>
6+ {% for engine_name, error_type in unresponsive_engines %}
7+ {{ engine_name }} ({{ error_type }}){% if not loop.last %}, {% endif %}
8+ {% endfor %}
9+ </p>
5 <p><small>{{ _('Please, try again later or find another searx instance.') }}</small></p>
10 <p><small>{{ _('Please, try again later or find another searx instance.') }}</small></p>
6</div>
11</div>
7{% else %}
12{% else %}