From e93544573fc8732e3e2e3f1b0a97b7d1bae79765 Mon Sep 17 00:00:00 2001 From: Joseph Schorr Date: Fri, 16 Jan 2015 14:57:09 -0500 Subject: [PATCH] Add missing action --- util/useremails.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/util/useremails.py b/util/useremails.py index 66ad079fb..fb562fde4 100644 --- a/util/useremails.py +++ b/util/useremails.py @@ -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', {