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
|
|
@ -43,9 +43,13 @@
|
|||
{% if unresponsive_engines and results|length >= 1 %}
|
||||
<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 %}</p>
|
||||
{%- 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 %}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue