Browse Source

Fix wrongfuly "No result" in search

room_building_search
Jean-Romain Garnier 6 years ago
parent
commit
615f25146f
  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/> <hr/>
<br/> <br/>
{% endif %} {% 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> <h3>{% trans "No result" %}</h3>
{% else %} {% else %}
<h6>{% blocktrans %}Only the first {{ max_result }} results are displayed in each category.{% endblocktrans %}</h6> <h6>{% blocktrans %}Only the first {{ max_result }} results are displayed in each category.{% endblocktrans %}</h6>

Loading…
Cancel
Save