Display flash message on review page that TO is a draft

This commit is contained in:
George Drummond
2019-02-15 11:43:56 -05:00
parent e969c393fa
commit 7d4e14dff2
4 changed files with 40 additions and 0 deletions

View File

@@ -1,6 +1,14 @@
from flask import flash, render_template_string
from atst.utils.localization import translate
MESSAGES = {
"task_order_draft": {
"title_template": translate("task_orders.form.draft_alert_title"),
"message_template": """
<p>Please complete your Task Order before submitting it for approval.</p>
""",
"category": "warning",
},
"task_order_signed": {
"title_template": "Task Order Signed",
"message_template": """