Browse Source

repo commit list ui

FuXiaoHei 11 years ago
parent
commit
f0993ae3c8
1 changed files with 2 additions and 0 deletions
  1. 2 0
      routers/user/user.go

+ 2 - 0
routers/user/user.go

@@ -70,6 +70,8 @@ func Profile(ctx *middleware.Context, params martini.Params) {
 		ctx.Data["Repos"] = repos
 		ctx.Data["Repos"] = repos
 	}
 	}
 
 
+	ctx.Data["PageIsUserProfile"] = true // For navbar arrow.
+
 	ctx.Render.HTML(200, "user/profile", ctx.Data)
 	ctx.Render.HTML(200, "user/profile", ctx.Data)
 }
 }