forked from forgejo/forgejo
Finish new organization members and invitation page
This commit is contained in:
parent
3e32b14ad4
commit
36b4c57ff1
24 changed files with 450 additions and 208 deletions
|
@ -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, "?")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue