mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-05-27 04:07:08 +00:00
parent
9df5c39bca
commit
149d62a648
9 changed files with 99 additions and 41 deletions
|
@ -22,8 +22,14 @@ func Repos(ctx *context.Context) {
|
|||
ctx.Data["PageIsAdmin"] = true
|
||||
ctx.Data["PageIsAdminRepositories"] = true
|
||||
|
||||
routers.RenderRepoSearch(ctx, models.CountRepositories, models.Repositories,
|
||||
setting.AdminRepoPagingNum, "id ASC", REPOS)
|
||||
routers.RenderRepoSearch(ctx, &routers.RepoSearchOptions{
|
||||
Counter: models.CountRepositories,
|
||||
Ranger: models.Repositories,
|
||||
Private: true,
|
||||
PageSize: setting.AdminRepoPagingNum,
|
||||
OrderBy: "id ASC",
|
||||
TplName: REPOS,
|
||||
})
|
||||
}
|
||||
|
||||
func DeleteRepo(ctx *context.Context) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue