Add in success flash message

This commit is contained in:
George Drummond
2019-06-07 10:59:40 -04:00
parent 5bcfcc1568
commit c08f14382f
3 changed files with 9 additions and 0 deletions

View File

@@ -2,6 +2,11 @@ from flask import flash, render_template_string
from atst.utils.localization import translate
MESSAGES = {
"portfolio_deleted": {
"title_template": "Portfolio has been deleted",
"message_template": "Portfolio '{{portfolio_name}}' has been deleted",
"category": "success",
},
"application_environment_members_updated": {
"title_template": "Application environment members updated",
"message_template": "Application environment members have been updated",