[themes] add hyperlink to searx instances list in error message

closes: #2383

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
Markus Heiser 2020-12-16 20:24:42 +01:00
parent 002d53abf3
commit 9db7d6357b
2 changed files with 2 additions and 2 deletions

View file

@ -7,7 +7,7 @@
{{ engine_name }} ({{ error_type }}){% if not loop.last %}, {% endif %} {{ engine_name }} ({{ error_type }}){% if not loop.last %}, {% endif %}
{% endfor %} {% endfor %}
</p> </p>
<p><small>{{ _('Please, try again later or find another searx instance.') }}</small></p> <p><small>{{ _('Please, try again later or find another searx instance.') }} (<a href="{{ brand.PUBLIC_INSTANCES }}">{{ _('Public instances') }}</a>)</small></p>
</div> </div>
{% else %} {% else %}
<div class="alert alert-info fade in" role="alert"> <div class="alert alert-info fade in" role="alert">

View file

@ -7,7 +7,7 @@
{{ engine_name }} ({{ error_type }}){% if not loop.last %}, {% endif %} {{ engine_name }} ({{ error_type }}){% if not loop.last %}, {% endif %}
{% endfor %} {% endfor %}
</p> </p>
<p><small>{{ _('Please, try again later or find another searx instance.') }}</small></p> <p><small>{{ _('Please, try again later or find another searx instance.') }} (<a href="{{ brand.PUBLIC_INSTANCES }}">{{ _('Public instances') }}</a>) </small></p>
</div> </div>
{% else %} {% else %}
<div class="dialog-error" role="alert"> <div class="dialog-error" role="alert">