mirror of
https://github.com/searxng/searxng
synced 2024-01-01 19:24:07 +01:00
oscar template: add no result message
This commit is contained in:
parent
451586f09f
commit
c25aab73b7
9 changed files with 139 additions and 49 deletions
|
|
@ -12,6 +12,10 @@
|
|||
{% if result.template %}{% include 'oscar/result_templates/'+result['template'] %}{% else %}{% include 'oscar/result_templates/default.html' %}{% endif %}
|
||||
</div>
|
||||
{% endfor %}
|
||||
|
||||
{% if not results %}
|
||||
{% include 'oscar/messages/no_results.html' %}
|
||||
{% endif %}
|
||||
|
||||
<div class="clearfix"></div>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue