aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/search.tmpl2
-rw-r--r--templates/usersearch.tmpl2
2 files changed, 2 insertions, 2 deletions
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}}
-<div class="no-data-found">No data found</div>
+{{if .Q}}<div class="no-data-found">No data found</div>{{end}}
{{end}}
{{end}}
diff --git a/templates/usersearch.tmpl b/templates/usersearch.tmpl
index 26186c0..a44b679 100644
--- a/templates/usersearch.tmpl
+++ b/templates/usersearch.tmpl
@@ -13,7 +13,7 @@
{{range .Statuses}}
{{template "status.tmpl" (WithContext . $.Ctx)}}
{{else}}
-<div class="no-data-found">No data found</div>
+{{if .Q}}<div class="no-data-found">No data found</div>{{end}}
{{end}}
<div class="pagination">