From 35a8c247d910f4a17aea5dd9df511f6e44bbc4bf Mon Sep 17 00:00:00 2001 From: r Date: Wed, 26 Feb 2020 16:31:49 +0000 Subject: Display empty list message --- templates/search.tmpl | 2 ++ 1 file changed, 2 insertions(+) (limited to 'templates') diff --git a/templates/search.tmpl b/templates/search.tmpl index ede147e..560a2c9 100644 --- a/templates/search.tmpl +++ b/templates/search.tmpl @@ -20,6 +20,8 @@ {{if eq .Type "statuses"}} {{range .Statuses}} {{template "status.tmpl" (WithContext . $.Ctx)}} +{{else}} +
No data found
{{end}} {{end}} -- cgit v1.2.3