Merge pull request #2387 from return42/issue-2383

[themes] add hyperlink to searx instances list in error message
This commit is contained in:
Alexandre Flament 2020-12-17 08:20:20 +01:00 committed by GitHub
commit 36235dfde2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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">