Skip to content

Commit 3540c1b

Browse files
committed
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 7a8c6d7
1 parent ba762e4 commit 3540c1b

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

ietf/templates/doc/search/search_results.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{# Copyright The IETF Trust 2015, All Rights Reserved #}{% load origin %}{% origin %}
22
{% load ietf_filters %}
33

4-
{% if not docs and not skip_no_matches_warning %}
5-
<div class="alert alert-info">
6-
No documents match your query.
7-
</div>
4+
{% if not docs %}
5+
{% if not skip_no_matches_warning %}
6+
<div class="alert alert-info">No documents match your query.</div>
7+
{% endif %}
88
{% else %}
99

1010
{% if meta.max %}

0 commit comments

Comments
 (0)