top nav arrow update
This commit is contained in:
parent
3634d1ee32
commit
a0e73e2b54
4 changed files with 11 additions and 4 deletions
|
@ -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)
|
||||
|
|
|
@ -68,6 +68,8 @@ func Profile(ctx *middleware.Context, params martini.Params) {
|
|||
ctx.Data["Repos"] = repos
|
||||
}
|
||||
|
||||
ctx.Data["PageIsUserProfile"] = true // For navbar arrow.
|
||||
|
||||
ctx.HTML(200, "user/profile", ctx.Data)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue