diff options
author | FuXiaoHei <fuxiaohei@hexiaz.com> | 2014-03-19 22:15:28 +0800 |
---|---|---|
committer | FuXiaoHei <fuxiaohei@hexiaz.com> | 2014-03-19 22:15:28 +0800 |
commit | a0e73e2b5411499719a7e02281c48ad40dedfa24 (patch) | |
tree | f76b9e5ac40f072309a44c3d82663c39f139b1d8 /routers/repo/repo.go | |
parent | 3634d1ee326fd285935c0a5992575583ef6467d4 (diff) |
top nav arrow update
Diffstat (limited to 'routers/repo/repo.go')
-rw-r--r-- | routers/repo/repo.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/routers/repo/repo.go b/routers/repo/repo.go index 947643a1..fb54d4ef 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) |