8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-22 11:23:10 +00:00

Fix wrongfuly "No result" in search

This commit is contained in:
Jean-Romain Garnier 2020-02-18 23:37:37 +01:00 committed by Gabriel Detraz
parent c110abb17f
commit 38142bdc7a

View file

@ -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>