summaryrefslogtreecommitdiffstats
path: root/routers/repo/repo.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/repo/repo.go')
-rw-r--r--routers/repo/repo.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/routers/repo/repo.go b/routers/repo/repo.go
index 947643a1a8..fb54d4ef8b 100644
--- a/routers/repo/repo.go
+++ b/routers/repo/repo.go
@@ -15,6 +15,7 @@ func Create(ctx *middleware.Context, form auth.CreateRepoForm) {
ctx.Data["Title"] = "Create repository"
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)