mirror of
https://github.com/searxng/searxng
synced 2024-01-01 19:24:07 +01:00
[mod] engine errors: link to the stats to create an github issue
This commit is contained in:
parent
3282cdca13
commit
34bced29ae
6 changed files with 37 additions and 17 deletions
|
|
@ -2,11 +2,14 @@
|
|||
{% 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>
|
||||
{%- for engine_name, error_type in unresponsive_engines -%}
|
||||
<p>
|
||||
{% for engine_name, error_type in unresponsive_engines %}
|
||||
{{ engine_name }} ({{ error_type }}){% if not loop.last %}, {% endif %}
|
||||
{% endfor %}
|
||||
{{- 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 %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue