diff options
author | Adam Tauber <asciimoo@gmail.com> | 2016-06-28 00:06:50 +0200 |
---|---|---|
committer | Adam Tauber <asciimoo@gmail.com> | 2016-06-28 00:06:50 +0200 |
commit | 2f7752b410c449aac463c248c0b7e41f69b6b07b (patch) | |
tree | cf39c310166874a1b3c8fb28a3e925e969794429 /searx/templates/oscar/results.html | |
parent | 36c8977390b50259de56cc9678499340c78ee25b (diff) | |
download | searxng-2f7752b410c449aac463c248c0b7e41f69b6b07b.tar.gz searxng-2f7752b410c449aac463c248c0b7e41f69b6b07b.zip |
[enh] display number of results
Diffstat (limited to 'searx/templates/oscar/results.html')
-rw-r--r-- | searx/templates/oscar/results.html | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/searx/templates/oscar/results.html b/searx/templates/oscar/results.html index 9f9bdf1e1..db9eb96dd 100644 --- a/searx/templates/oscar/results.html +++ b/searx/templates/oscar/results.html @@ -78,6 +78,16 @@ </div><!-- /#main_results -->
<div class="col-sm-4" id="sidebar_results">
+ {% if number_of_results %}
+ <div class="panel panel-default">
+ <div class="panel-heading">
+ <h4 class="panel-title">{{ _('Number of results') }}</h4>
+ </div>
+ <div class="panel-body">
+ {{ number_of_results }}
+ </div>
+ </div>
+ {% endif %}
{% if infoboxes %}
{% for infobox in infoboxes %}
{% include 'oscar/infobox.html' %}
|