diff options
author | Thomas Pointhuber <thomas.pointhuber@gmx.at> | 2014-10-01 19:46:29 +0200 |
---|---|---|
committer | Thomas Pointhuber <thomas.pointhuber@gmx.at> | 2014-10-05 14:40:47 +0200 |
commit | c25aab73b72087a9a56d86c155a166bfcf018822 (patch) | |
tree | 1502eb3bf2380fd25a7c8e1685e9415dfba8b378 /searx/templates/oscar/results.html | |
parent | 451586f09f819c5a099eac7389522acd8a554466 (diff) | |
download | searxng-c25aab73b72087a9a56d86c155a166bfcf018822.tar.gz searxng-c25aab73b72087a9a56d86c155a166bfcf018822.zip |
oscar template: add no result message
Diffstat (limited to 'searx/templates/oscar/results.html')
-rw-r--r-- | searx/templates/oscar/results.html | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/searx/templates/oscar/results.html b/searx/templates/oscar/results.html index 91070777b..6b02dc7bd 100644 --- a/searx/templates/oscar/results.html +++ b/searx/templates/oscar/results.html @@ -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>
|