aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorr <r@freesoftwareextremist.com>2020-02-26 16:31:49 +0000
committerr <r@freesoftwareextremist.com>2020-02-26 16:31:49 +0000
commit35a8c247d910f4a17aea5dd9df511f6e44bbc4bf (patch)
treebcb50154f78c65c4418137287b902f17f8e5c3f1 /templates
parentd5230852cf4da238a0d3acb219f9049e9d669969 (diff)
downloadbloat-35a8c247d910f4a17aea5dd9df511f6e44bbc4bf.tar.gz
bloat-35a8c247d910f4a17aea5dd9df511f6e44bbc4bf.zip
Display empty list message
Diffstat (limited to 'templates')
-rw-r--r--templates/search.tmpl2
1 files changed, 2 insertions, 0 deletions
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}}
+<div class="no-data-found">No data found</div>
{{end}}
{{end}}