Add missing action

This commit is contained in:
Joseph Schorr 2015-01-16 14:57:09 -05:00
parent 87a5b17d20
commit e93544573f

View file

@ -119,13 +119,13 @@ def send_repo_authorization_email(namespace, repository, email, token):
def send_recovery_email(email, token):
action = GmailAction.view('Recover Account', 'recovery?code=' + token,
'Recovery of an account')
'Recovery of an account')
subject = 'Account recovery'
send_email(email, subject, 'recovery', {
'email': email,
'token': token
})
}, action=action)
def send_payment_failed(email, username):
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):
action = GmailAction.view('Join Team %s' % team, 'confirminvite?code=' + code,
action = GmailAction.view('Join %s' % team, 'confirminvite?code=' + code,
'Invitation to join a team')
send_email(member_email, 'Invitation to join team', 'teaminvite', {