summaryrefslogtreecommitdiffstats
path: root/routers/org/teams.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/org/teams.go')
-rw-r--r--routers/org/teams.go16
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")
+}