1
0
Fork 0
forked from forgejo/forgejo

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, "?")