From eeb8e5f32823d2e944d2186e6db7c97fd553828c Mon Sep 17 00:00:00 2001 From: dandds Date: Mon, 10 Dec 2018 13:00:55 -0500 Subject: [PATCH] rename a notification --- atst/routes/workspaces/invitations.py | 2 +- atst/utils/flash.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/atst/routes/workspaces/invitations.py b/atst/routes/workspaces/invitations.py index 6268c5d0..129c87bc 100644 --- a/atst/routes/workspaces/invitations.py +++ b/atst/routes/workspaces/invitations.py @@ -41,5 +41,5 @@ def revoke_invitation(workspace_id, token): def resend_invitation(workspace_id, token): invite = Invitations.resend(g.current_user, workspace_id, token) 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)) diff --git a/atst/utils/flash.py b/atst/utils/flash.py index 98612ea9..6196d2d2 100644 --- a/atst/utils/flash.py +++ b/atst/utils/flash.py @@ -16,7 +16,7 @@ MESSAGES = { """, "category": "success", }, - "resent_workspace_invitation": { + "resend_workspace_invitation": { "title_template": "Invitation resent", "message_template": """

Successfully sent a new invitation to {{ user_name }}.