forked from Icycoide/searxng
better error message when no results found
This commit is contained in:
parent
ad725ce7d7
commit
33e722f83b
4 changed files with 22 additions and 3 deletions
|
@ -1,5 +1,9 @@
|
|||
<div id="engines_msg">
|
||||
{% if not results and not answers %}
|
||||
<details class="sidebar-collapsable" open>
|
||||
{% else %}
|
||||
<details class="sidebar-collapsable">
|
||||
{% endif %}
|
||||
<summary class="title" id="engines_msg-title">{{ _('Messages from the search engines') }}</summary>
|
||||
<div class="dialog-error" role="alert">
|
||||
{{ icon_big('warning') }}
|
||||
|
|
|
@ -1,5 +1,11 @@
|
|||
{% from 'simple/icons.html' import icon_big %}
|
||||
<div class="dialog-error" role="alert">
|
||||
<div class="dialog-error-block" role="alert">
|
||||
<p><strong>{{ _('Sorry!') }}</strong></p>
|
||||
<p>{{ _("we didn't find any results. Please use another query or search in more categories.") }}</p>
|
||||
<p>{{ _("No results were found. You can try to:") }}</p>
|
||||
<ul>
|
||||
<li>{{ _("Refresh the page.") }}</li>
|
||||
<li>{{ _("Search for another query or select another category (above).") }}</li>
|
||||
<li>{{ _("Change the search engine used in the preferences:") }} <a href="/preferences">/preferences</a></li>
|
||||
<li>{{ _("Switch to another instance:") }} <a href="https://searx.space">https://searx.space</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue