mirror of
https://codeberg.org/davrot/forgejo.git
synced 2025-06-01 15:00:02 +02:00
add organization team-create page
This commit is contained in:
parent
19e9104289
commit
b5ba2bd268
6 changed files with 100 additions and 5 deletions
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")
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue