Merged in [9851] from lars@netapp.com:

Fix the logic, so that if there are no matches and we don't want a warning
saying that, there is also no empty table being produced.
 - Legacy-Id: 9864
Note: SVN reference [9851] has been migrated to Git commit 7a8c6d714c
This commit is contained in:
Henrik Levkowetz 2015-07-23 08:21:25 +00:00
parent ba762e4356
commit 3540c1bedc

View file

@ -1,10 +1,10 @@
{# Copyright The IETF Trust 2015, All Rights Reserved #}{% load origin %}{% origin %}
{% load ietf_filters %}
{% if not docs and not skip_no_matches_warning %}
<div class="alert alert-info">
No documents match your query.
</div>
{% if not docs %}
{% if not skip_no_matches_warning %}
<div class="alert alert-info">No documents match your query.</div>
{% endif %}
{% else %}
{% if meta.max %}