diff options
author | fuxiaohei <fuxiaohei@vip.qq.com> | 2014-06-22 16:53:46 +0800 |
---|---|---|
committer | fuxiaohei <fuxiaohei@vip.qq.com> | 2014-06-22 16:53:46 +0800 |
commit | 514d7e19227555ecd9e38c642d0b7ea63d7883d2 (patch) | |
tree | 88c8436e74468fd0c04e97aa17496d70e55b8d1f /routers/org/org.go | |
parent | bf703ef61761fc4b09e3cb95672869520eccbc39 (diff) | |
download | gitea-514d7e19227555ecd9e38c642d0b7ea63d7883d2.tar.gz gitea-514d7e19227555ecd9e38c642d0b7ea63d7883d2.zip |
add organization memebers page
Diffstat (limited to 'routers/org/org.go')
-rw-r--r-- | routers/org/org.go | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/routers/org/org.go b/routers/org/org.go index 1c02e77332..69bf0fc48a 100644 --- a/routers/org/org.go +++ b/routers/org/org.go @@ -6,6 +6,11 @@ import ( ) func Organization(ctx *middleware.Context, params martini.Params) { - ctx.Data["Title"] = "Organization Name" + params["org"] + ctx.Data["Title"] = "Organization " + params["org"] ctx.HTML(200, "org/org") } + +func Members(ctx *middleware.Context,params martini.Params){ + ctx.Data["Title"] = "Organization " + params["org"]+" Members" + ctx.HTML(200,"org/members") +} |