diff --git a/strictdoc/export/html/templates/components/form/search.jinja b/strictdoc/export/html/templates/components/form/search.jinja index 7ed2941d9..284e9d46f 100644 --- a/strictdoc/export/html/templates/components/form/search.jinja +++ b/strictdoc/export/html/templates/components/form/search.jinja @@ -20,7 +20,9 @@ {%- if error is none -%} - {%- if search_results|length > 0 -%} + {%- if search_results|length == 0 -%} +
Nothing matching the query was found.
+ {%- elif search_results|length > 0 -%}
Found {{ search_results|length }} results.
{%- endif -%} {%- else -%}