1
1
mirror of https://github.com/go-gitea/gitea synced 2025-08-09 11:08:19 +00:00

Mirror fix

This commit is contained in:
Unknown
2014-03-18 18:31:54 -04:00
parent 58147bef20
commit fbd252c1cf
18 changed files with 133 additions and 83 deletions

View File

@@ -182,10 +182,12 @@ func Commits(ctx *middleware.Context, params martini.Params) {
ctx.Render.HTML(200, "repo/commits", ctx.Data)
}
func Issues(ctx *middleware.Context) string {
return "This is issues page"
func Issues(ctx *middleware.Context) {
ctx.Data["IsRepoToolbarIssues"] = true
ctx.Render.HTML(200, "repo/issues", ctx.Data)
}
func Pulls(ctx *middleware.Context) string {
return "This is pulls page"
func Pulls(ctx *middleware.Context) {
ctx.Data["IsRepoToolbarPulls"] = true
ctx.Render.HTML(200, "repo/pulls", ctx.Data)
}