]> source.dussan.org Git - gitea.git/commit
Added check for disabled Packages (#21540)
authorrock2dust <its@baronbunny.cn>
Sat, 22 Oct 2022 03:24:09 +0000 (11:24 +0800)
committerGitHub <noreply@github.com>
Sat, 22 Oct 2022 03:24:09 +0000 (11:24 +0800)
commitcd33979f5a683fd91bd79225e300e41173335926
tree5764da248bb0b3a58bf562592e1ebedd11092ea2
parent1887c9525483957cfc2a1af5bccfd7d03b41f015
Added check for disabled Packages (#21540)

At the moment, If admin disable Packages, still show the Packages on the
admin dashboard

This patch added a check to hide the Packages entry

Signed-off-by: baronbunny <its@baronbunny.cn>
Signed-off-by: baronbunny <its@baronbunny.cn>
routers/web/web.go
templates/admin/navbar.tmpl