Update banners

- Adds "Create a new environment" title to info banner
- Adds a new "environment added" success banner
This commit is contained in:
Montana
2019-05-13 11:33:05 -04:00
parent b2989e99c9
commit caf3a47c68
5 changed files with 13 additions and 5 deletions

View File

@@ -12,6 +12,13 @@ MESSAGES = {
"message_template": "Application environment members have been updated",
"category": "success",
},
"environment_added": {
"title_template": translate("flash.success"),
"message_template": """
{{ "flash.environment_added" | translate({ "env_name": environment_name }) }}
""",
"category": "success",
},
"application_environments_updated": {
"title_template": "Application environments updated",
"message_template": "Application environments have been updated",
@@ -24,7 +31,7 @@ MESSAGES = {
},
"invitation_resent": {
"title_template": "Invitation resent",
"message_template": "The {{ officer_type }} has been resent instructions to join this portfolio.",
"message_template": "The {{ officer_type }} has been resent instructions to join this portfolio.",
"category": "success",
},
"task_order_draft": {