rename a notification
This commit is contained in:
parent
16064be468
commit
eeb8e5f328
@ -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))
|
||||
|
@ -16,7 +16,7 @@ MESSAGES = {
|
||||
""",
|
||||
"category": "success",
|
||||
},
|
||||
"resent_workspace_invitation": {
|
||||
"resend_workspace_invitation": {
|
||||
"title_template": "Invitation resent",
|
||||
"message_template": """
|
||||
<p>Successfully sent a new invitation to {{ user_name }}.</p>
|
||||
|
Loading…
x
Reference in New Issue
Block a user