present flash message when new portfolio member is added

This commit is contained in:
dandds
2019-03-26 14:21:52 -04:00
parent 836fdbdcd2
commit c7ac967870
7 changed files with 18 additions and 10 deletions

View File

@@ -22,10 +22,9 @@ MESSAGES = {
"category": "success",
},
"new_portfolio_member": {
"title_template": "Member added successfully",
"title_template": "Success!",
"message_template": """
<p>{{ new_member.user_name }} was successfully invited via email to this portfolio. They do not yet have access to any environments.</p>
<p><a href="{{ url_for('portfolios.update_member', portfolio_id=portfolio.id, member_id=new_member.user_id) }}">Add environment access.</a></p>
<p>You have successfully invited {{ new_member.user_name }} to the portfolio admin.</p>
""",
"category": "success",
},