Add missing action
This commit is contained in:
parent
87a5b17d20
commit
e93544573f
1 changed files with 3 additions and 3 deletions
|
@ -119,13 +119,13 @@ def send_repo_authorization_email(namespace, repository, email, token):
|
||||||
|
|
||||||
def send_recovery_email(email, token):
|
def send_recovery_email(email, token):
|
||||||
action = GmailAction.view('Recover Account', 'recovery?code=' + token,
|
action = GmailAction.view('Recover Account', 'recovery?code=' + token,
|
||||||
'Recovery of an account')
|
'Recovery of an account')
|
||||||
|
|
||||||
subject = 'Account recovery'
|
subject = 'Account recovery'
|
||||||
send_email(email, subject, 'recovery', {
|
send_email(email, subject, 'recovery', {
|
||||||
'email': email,
|
'email': email,
|
||||||
'token': token
|
'token': token
|
||||||
})
|
}, action=action)
|
||||||
|
|
||||||
def send_payment_failed(email, username):
|
def send_payment_failed(email, username):
|
||||||
send_email(email, 'Subscription Payment Failure', 'paymentfailure', {
|
send_email(email, 'Subscription Payment Failure', 'paymentfailure', {
|
||||||
|
@ -133,7 +133,7 @@ def send_payment_failed(email, username):
|
||||||
})
|
})
|
||||||
|
|
||||||
def send_org_invite_email(member_name, member_email, orgname, team, adder, code):
|
def send_org_invite_email(member_name, member_email, orgname, team, adder, code):
|
||||||
action = GmailAction.view('Join Team %s' % team, 'confirminvite?code=' + code,
|
action = GmailAction.view('Join %s' % team, 'confirminvite?code=' + code,
|
||||||
'Invitation to join a team')
|
'Invitation to join a team')
|
||||||
|
|
||||||
send_email(member_email, 'Invitation to join team', 'teaminvite', {
|
send_email(member_email, 'Invitation to join team', 'teaminvite', {
|
||||||
|
|
Reference in a new issue