From 9cd9e8bc7c9713cf574f809668f09acbb6284a0d Mon Sep 17 00:00:00 2001 From: "r@freesoftwareextremist.com" Date: Sat, 22 Aug 2020 06:48:13 +0000 Subject: Fix empty list message on search page --- templates/search.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates/search.tmpl') diff --git a/templates/search.tmpl b/templates/search.tmpl index f81c061..a9aa0af 100644 --- a/templates/search.tmpl +++ b/templates/search.tmpl @@ -21,7 +21,7 @@ {{range .Statuses}} {{template "status.tmpl" (WithContext . $.Ctx)}} {{else}} -
No data found
+{{if .Q}}
No data found
{{end}} {{end}} {{end}} -- cgit v1.2.3