Fix empty list message on search page

This commit is contained in:
r@freesoftwareextremist.com 2020-08-22 06:48:13 +00:00 committed by r
parent b5758986c6
commit 9cd9e8bc7c
2 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,7 @@
{{range .Statuses}} {{range .Statuses}}
{{template "status.tmpl" (WithContext . $.Ctx)}} {{template "status.tmpl" (WithContext . $.Ctx)}}
{{else}} {{else}}
<div class="no-data-found">No data found</div> {{if .Q}}<div class="no-data-found">No data found</div>{{end}}
{{end}} {{end}}
{{end}} {{end}}

View File

@ -13,7 +13,7 @@
{{range .Statuses}} {{range .Statuses}}
{{template "status.tmpl" (WithContext . $.Ctx)}} {{template "status.tmpl" (WithContext . $.Ctx)}}
{{else}} {{else}}
<div class="no-data-found">No data found</div> {{if .Q}}<div class="no-data-found">No data found</div>{{end}}
{{end}} {{end}}
<div class="pagination"> <div class="pagination">