mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 18:28:37 +00:00
Render data in commit list page
This commit is contained in:
@@ -13,11 +13,11 @@ import (
|
||||
|
||||
func Create(ctx *middleware.Context, form auth.CreateRepoForm) {
|
||||
ctx.Data["Title"] = "Create repository"
|
||||
ctx.Data["PageIsNewRepo"] = true // For navbar arrow.
|
||||
ctx.Data["LanguageIgns"] = models.LanguageIgns
|
||||
ctx.Data["Licenses"] = models.Licenses
|
||||
|
||||
if ctx.Req.Method == "GET" {
|
||||
ctx.Data["PageIsNewRepo"] = true // For navbar arrow.
|
||||
ctx.Data["LanguageIgns"] = models.LanguageIgns
|
||||
ctx.Data["Licenses"] = models.Licenses
|
||||
ctx.HTML(200, "repo/create", ctx.Data)
|
||||
return
|
||||
}
|
||||
|
Reference in New Issue
Block a user