Add automatic email loading to the stripe dialog

This commit is contained in:
Joseph Schorr 2013-11-08 17:50:42 -05:00
parent d7cae4fbca
commit 68e1658849
3 changed files with 27 additions and 15 deletions

View file

@ -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