From c837321df178c6c19c69032455813c021fe8a465 Mon Sep 17 00:00:00 2001 From: Viktor Lofgren Date: Mon, 6 May 2024 20:11:39 +0200 Subject: [PATCH] (search) Provide a notification when no search results are found. --- .../resources/templates/search/search-results.hdb | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/code/services-application/search-service/resources/templates/search/search-results.hdb b/code/services-application/search-service/resources/templates/search/search-results.hdb index cb22c45b..f7dd59e2 100644 --- a/code/services-application/search-service/resources/templates/search/search-results.hdb +++ b/code/services-application/search-service/resources/templates/search/search-results.hdb @@ -29,6 +29,13 @@ Showing search results from {{focusDomain}}. {{/if}} + + {{#unless results}} +
+ No search results found. +
+ {{/unless}} + {{#unless focusDomain}}
Showing {{resultCount}} search results.