[fix] hide number of results if 0

This commit is contained in:
Adam Tauber 2016-06-28 00:21:18 +02:00
parent 2f7752b410
commit 8ee32d5372

View file

@ -78,7 +78,7 @@
</div><!-- /#main_results --> </div><!-- /#main_results -->
<div class="col-sm-4" id="sidebar_results"> <div class="col-sm-4" id="sidebar_results">
{% if number_of_results %} {% if number_of_results != '0' %}
<div class="panel panel-default"> <div class="panel panel-default">
<div class="panel-heading"> <div class="panel-heading">
<h4 class="panel-title">{{ _('Number of results') }}</h4> <h4 class="panel-title">{{ _('Number of results') }}</h4>