Skip to content

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

templates/package/shared/list.tmpl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{{template "base/alert" .}}
2+
{{if .HasPackages}}
23
<form class="ui form ignore-dirty">
34
<div class="ui fluid action input">
45
{{template "shared/searchinput" dict "Value" .Query "AutoFocus" true}}
@@ -12,6 +13,7 @@
1213
<button class="ui primary button">{{ctx.Locale.Tr "explore.search"}}</button>
1314
</div>
1415
</form>
16+
{{end}}
1517
<div>
1618
{{range .PackageDescriptors}}
1719
<div class="flex-list">

0 commit comments

Comments
 (0)