Add automatic email loading to the stripe dialog
This commit is contained in:
parent
d7cae4fbca
commit
68e1658849
3 changed files with 27 additions and 15 deletions
|
@ -347,6 +347,7 @@ def get_organization(orgname):
|
|||
is_admin = admin_org.can()
|
||||
return {
|
||||
'name': o.username,
|
||||
'email': o.email if is_admin else '',
|
||||
'gravatar': compute_hash(o.email),
|
||||
'teams': {t.name : team_view(orgname, t) for t in teams},
|
||||
'is_admin': is_admin
|
||||
|
|
Reference in a new issue