mirror of
https://github.com/go-gitea/gitea.git
synced 2025-03-24 12:29:59 +01:00
Do not display search box when there's no packages yet (#28146)
Before:  After:   
This commit is contained in:
parent
a6a674e26a
commit
d1acd7e9de
@ -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">
|
||||
|
Loading…
x
Reference in New Issue
Block a user