rename a notification

This commit is contained in:
dandds 2018-12-10 13:00:55 -05:00
parent 16064be468
commit eeb8e5f328
2 changed files with 2 additions and 2 deletions

View File

@ -41,5 +41,5 @@ def revoke_invitation(workspace_id, token):
def resend_invitation(workspace_id, token): def resend_invitation(workspace_id, token):
invite = Invitations.resend(g.current_user, workspace_id, token) invite = Invitations.resend(g.current_user, workspace_id, token)
send_invite_email(g.current_user.full_name, invite.token, invite.email) send_invite_email(g.current_user.full_name, invite.token, invite.email)
flash("resent_workspace_invitation", user_name=invite.user_name) flash("resend_workspace_invitation", user_name=invite.user_name)
return redirect(url_for("workspaces.workspace_members", workspace_id=workspace_id)) return redirect(url_for("workspaces.workspace_members", workspace_id=workspace_id))

View File

@ -16,7 +16,7 @@ MESSAGES = {
""", """,
"category": "success", "category": "success",
}, },
"resent_workspace_invitation": { "resend_workspace_invitation": {
"title_template": "Invitation resent", "title_template": "Invitation resent",
"message_template": """ "message_template": """
<p>Successfully sent a new invitation to {{ user_name }}.</p> <p>Successfully sent a new invitation to {{ user_name }}.</p>