]> source.dussan.org Git - gitea.git/commit
Do not display search box when there's no packages yet (#28146) (#28159)
authorGiteabot <teabot@gitea.io>
Wed, 22 Nov 2023 02:07:13 +0000 (10:07 +0800)
committerGitHub <noreply@github.com>
Wed, 22 Nov 2023 02:07:13 +0000 (10:07 +0800)
commit7128929a0d2f551aad9cce4f91ebfb14895088ea
treed76bfe51ec5648aae0e9615ab606a44ca2ea467d
parentefcbaf8fa80def9afd61c0d16fa7fd94bc511eb5
Do not display search box when there's no packages yet (#28146) (#28159)

Backport #28146 by @yp05327

Before:

![image](https://github.com/go-gitea/gitea/assets/18380374/3012f544-7ff5-4ccb-ac80-ce24d50abe97)

After:

![image](https://github.com/go-gitea/gitea/assets/18380374/4084312a-9ac0-4103-8c93-ea178ae24493)

![image](https://github.com/go-gitea/gitea/assets/18380374/3c47d175-0735-476d-8979-da2bc0a4fc95)

![image](https://github.com/go-gitea/gitea/assets/18380374/033c6a81-d1f7-4426-8063-5793d0b47462)

Co-authored-by: yp05327 <576951401@qq.com>
templates/package/shared/list.tmpl