diff options
| author | Adam Tauber <asciimoo@gmail.com> | 2015-03-15 11:38:07 +0100 |
|---|---|---|
| committer | Adam Tauber <asciimoo@gmail.com> | 2015-03-15 11:38:07 +0100 |
| commit | bd92b43449410fe1c598600b16b0f23c4f6c256e (patch) | |
| tree | bc4790cf078d54c9563ce3f3577dfcc447ae643b /searx/templates/oscar/results.html | |
| parent | 4cc79533e7452e4c08a2654f1ee1022307d227b0 (diff) | |
| parent | f57149f912eece7dab1069e078f6bfe54ffd46e1 (diff) | |
Merge branch 'plugins'
Diffstat (limited to 'searx/templates/oscar/results.html')
| -rw-r--r-- | searx/templates/oscar/results.html | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/searx/templates/oscar/results.html b/searx/templates/oscar/results.html index a75825611..155194546 100644 --- a/searx/templates/oscar/results.html +++ b/searx/templates/oscar/results.html @@ -25,8 +25,8 @@ {% endif %}
</div>
{% endfor %}
-
- {% if not results %}
+
+ {% if not results and not answers %}
{% include 'oscar/messages/no_results.html' %}
{% endif %}
@@ -82,7 +82,7 @@ {% for infobox in infoboxes %}
{% include 'oscar/infobox.html' %}
{% endfor %}
- {% endif %}
+ {% endif %}
{% if suggestions %}
<div class="panel panel-default">
@@ -111,7 +111,7 @@ <input id="search_url" type="url" class="form-control select-all-on-click cursor-text" name="search_url" value="{{ base_url }}?q={{ q|urlencode }}&pageno={{ pageno }}{% if selected_categories %}&category_{{ selected_categories|join("&category_")|replace(' ','+') }}{% endif %}" readonly>
</div>
</form>
-
+
<label>{{ _('Download results') }}</label>
<div class="clearfix"></div>
{% for output_type in ('csv', 'json', 'rss') %}
@@ -122,7 +122,7 @@ <input type="hidden" name="pageno" value="{{ pageno }}">
<button type="submit" class="btn btn-default">{{ output_type }}</button>
</form>
- {% endfor %}
+ {% endfor %}
<div class="clearfix"></div>
</div>
</div>
|