mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-16 12:05:30 +09:00
Use dynamic package type list (#22263)
Replace the hardcoded list with the dynamic list.
This commit is contained in:
1 parent
ca67c5a8a7
commit
309e86a9bf
5 files changed
+9
-24
No files matched your search
@@ -62,6 +62,7 @@ func Packages(ctx *context.Context) {
|
||||
ctx.Data["PageIsAdminPackages"] = true
|
||||
ctx.Data["Query"] = query
|
||||
ctx.Data["PackageType"] = packageType
|
||||
ctx.Data["AvailableTypes"] = packages_model.TypeList
|
||||
ctx.Data["SortType"] = sort
|
||||
ctx.Data["PackageDescriptors"] = pds
|
||||
ctx.Data["Total"] = total
|
||||
|
||||
Reference in new issue
Block a user