aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--templates/package/shared/list.tmpl2
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/package/shared/list.tmpl b/templates/package/shared/list.tmpl
index 1087f6061f..740a96bb8d 100644
--- a/templates/package/shared/list.tmpl
+++ b/templates/package/shared/list.tmpl
@@ -1,4 +1,5 @@
{{template "base/alert" .}}
+{{if .HasPackages}}
<form class="ui form ignore-dirty">
<div class="ui fluid action input">
{{template "shared/searchinput" dict "Value" .Query}}
@@ -12,6 +13,7 @@
<button class="ui primary button">{{ctx.Locale.Tr "explore.search"}}</button>
</div>
</form>
+{{end}}
<div>
{{range .PackageDescriptors}}
<div class="flex-list">