diff options
author | fuxiaohei <fuxiaohei@vip.qq.com> | 2014-06-27 21:33:49 +0800 |
---|---|---|
committer | fuxiaohei <fuxiaohei@vip.qq.com> | 2014-06-27 21:33:49 +0800 |
commit | b5ba2bd268b144ae0c878fe17257d8685d92f9cc (patch) | |
tree | cce0b7d9d21df81fa7c7bb4783c4db7c5745de0f /routers/org/teams.go | |
parent | 19e910428951135b9a341554dad54a6546d2ad50 (diff) | |
download | gitea-b5ba2bd268b144ae0c878fe17257d8685d92f9cc.tar.gz gitea-b5ba2bd268b144ae0c878fe17257d8685d92f9cc.zip |
add organization team-create page
Diffstat (limited to 'routers/org/teams.go')
-rw-r--r-- | routers/org/teams.go | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/routers/org/teams.go b/routers/org/teams.go new file mode 100644 index 0000000000..9585cb272e --- /dev/null +++ b/routers/org/teams.go @@ -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") +} |