diff --git a/ietf/templates/doc/search/search_results.html b/ietf/templates/doc/search/search_results.html index fd80291a0..9b0b8ffa1 100644 --- a/ietf/templates/doc/search/search_results.html +++ b/ietf/templates/doc/search/search_results.html @@ -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 %} -
- No documents match your query. -
+{% if not docs %} + {% if not skip_no_matches_warning %} +
No documents match your query.
+ {% endif %} {% else %} {% if meta.max %}