move application deletion alert content into translations file

This commit is contained in:
dandds
2019-04-10 16:51:01 -04:00
parent 453d2664af
commit a2e815afd9
2 changed files with 5 additions and 4 deletions

View File

@@ -149,11 +149,10 @@ MESSAGES = {
"category": "success",
},
"application_deleted": {
"title_template": "Success!",
"title_template": translate("flash.success"),
"message_template": """
You have successfully deleted the {{ application_name }} application.
To view the retained activity log, visit the portfolio administration
page. <a href="#">Undo this action</a>.
{{ "flash.application.deleted" | translate({"application_name": application_name}) }}
<a href="#">Undo</a>.
""",
"category": "success",
},