Browse Source

Fix wrongfuly "No result" in search

release-2.9
Jean-Romain Garnier 6 years ago
committed by Gabriel Detraz
parent
commit
38142bdc7a
  1. 2
      search/templates/search/index.html

2
search/templates/search/index.html

@ -119,7 +119,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
<hr/>
<br/>
{% endif %}
{% if not users and not machines and not factures and not whitelists and not bans and not rooms and not ports and not switches %}
{% if not users and not clubs and not machines and not factures and not whitelists and not bans and not rooms and not ports and not switches %}
<h3>{% trans "No result" %}</h3>
{% else %}
<h6>{% blocktrans %}Only the first {{ max_result }} results are displayed in each category.{% endblocktrans %}</h6>

Loading…
Cancel
Save