Update the flash message for when a new application member is added.
This commit is contained in:
parent
60a5bb8c19
commit
7bb9400ea7
@ -300,7 +300,11 @@ def create_member(application_id):
|
||||
token=invite.token,
|
||||
)
|
||||
|
||||
flash("new_application_member", user_name=invite.user_name)
|
||||
flash(
|
||||
"new_application_member",
|
||||
user_name=invite.user_name,
|
||||
application_name=application.name,
|
||||
)
|
||||
|
||||
except AlreadyExistsError:
|
||||
return render_template(
|
||||
|
@ -77,7 +77,7 @@ MESSAGES = {
|
||||
"new_application_member": {
|
||||
"title_template": translate("flash.success"),
|
||||
"message_template": """
|
||||
<p>{{ "flash.new_application_member" | translate({ "user_name": user_name }) }}</p>
|
||||
<p>{{ "flash.new_application_member" | translate({ "user_name": user_name, "application_name": application_name }) }}</p>
|
||||
""",
|
||||
"category": "success",
|
||||
},
|
||||
|
@ -111,7 +111,7 @@ flash:
|
||||
new_ppoc_message: 'You have successfully added {ppoc_name} as the primary point of contact. You are no longer the PPoC.'
|
||||
new_ppoc_title: Primary point of contact updated
|
||||
success: Success!
|
||||
new_application_member: 'You have successfully invited {user_name} to the team.'
|
||||
new_application_member: '{user_name} has been added to {application_name}. They will not have access until they accept the invitation e-mailed to them and CSP processing is complete.'
|
||||
updated_application_team_settings: 'You have updated the {application_name} team settings.'
|
||||
logged_out: Logged out
|
||||
footer:
|
||||
|
Loading…
x
Reference in New Issue
Block a user