1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-05-11 05:55:29 +00:00

Finish new organization members and invitation page

This commit is contained in:
Unknwon
2014-08-15 18:29:41 +08:00
parent 3e32b14ad4
commit 36b4c57ff1
24 changed files with 450 additions and 208 deletions

View File

@ -68,7 +68,9 @@ type Context struct {
Org struct {
IsOwner bool
IsMember bool
IsAdminTeam bool // In owner team or team that has admin permission level.
Organization *models.User
OrgLink string
}
}
@ -181,7 +183,6 @@ func Contexter() macaron.Handler {
Flash: f,
Session: sess,
}
// Compute current URL for real-time change language.
link := ctx.Req.RequestURI
i := strings.Index(link, "?")