summaryrefslogtreecommitdiffstats
path: root/routers/org/teams.go
blob: 9585cb272eb4b379f4d12cb3a6efe2825decde61 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package org

import (
	"github.com/go-martini/martini"
	"github.com/gogits/gogs/modules/middleware"
)

func Teams(ctx *middleware.Context, params martini.Params) {
	ctx.Data["Title"] = "Organization "+params["org"]+" Teams"
	ctx.HTML(200, "org/teams")
}

func NewTeam(ctx *middleware.Context, params martini.Params) {
	ctx.Data["Title"] = "Organization "+params["org"]+" New Team"
	ctx.HTML(200, "org/new_team")
}