mirror of
https://github.com/go-gitea/gitea
synced 2025-07-19 08:48:37 +00:00
add organization team-create page
This commit is contained in:
16
routers/org/teams.go
Normal file
16
routers/org/teams.go
Normal file
@@ -0,0 +1,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")
|
||||
}
|
Reference in New Issue
Block a user