8
0
Fork 0
mirror of https://gitlab.federez.net/re2o/re2o synced 2024-07-04 13:14:06 +00:00

Fix wrongfuly "No result" in search

This commit is contained in:
Jean-Romain Garnier 2020-02-18 23:37:37 +01:00
parent a6be269eec
commit 615f25146f

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>