diff options
author | Unknown <joe2010xtmf@163.com> | 2014-03-19 13:14:56 -0400 |
---|---|---|
committer | Unknown <joe2010xtmf@163.com> | 2014-03-19 13:14:56 -0400 |
commit | 757f360949989214a9161f17a82aedf2b647457a (patch) | |
tree | 173e02a4f31ea9ebefe653d3b5e54d25d2dee585 /routers/repo/repo.go | |
parent | 04b0ba6852c7cc5b5512e9005db304c9bdacc045 (diff) | |
download | gitea-757f360949989214a9161f17a82aedf2b647457a.tar.gz gitea-757f360949989214a9161f17a82aedf2b647457a.zip |
Render data in commit list page
Diffstat (limited to 'routers/repo/repo.go')
-rw-r--r-- | routers/repo/repo.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/routers/repo/repo.go b/routers/repo/repo.go index fb54d4ef8b..b38473b18a 100644 --- a/routers/repo/repo.go +++ b/routers/repo/repo.go @@ -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 } |