From 8e6a4101ffe4314e259ffdc09fb1c95ca9cae732 Mon Sep 17 00:00:00 2001 From: graham-dds Date: Wed, 9 Oct 2019 15:20:47 -0400 Subject: [PATCH] Update copy in headers / flash --- atst/utils/flash.py | 4 ++-- translations.yaml | 6 ++++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/atst/utils/flash.py b/atst/utils/flash.py index 1e6b1bce..d0c812d4 100644 --- a/atst/utils/flash.py +++ b/atst/utils/flash.py @@ -8,9 +8,9 @@ MESSAGES = { "category": "success", }, "application_created": { - "title_template": translate("flash.success"), + "title_template": translate("flash.application.created.title"), "message_template": """ - {{ "flash.application.created" | translate({"application_name": application_name}) }} + {{ "flash.application.created.message" | translate({"application_name": application_name}) }} """, "category": "success", }, diff --git a/translations.yaml b/translations.yaml index a7b60162..b7cb7ef1 100644 --- a/translations.yaml +++ b/translations.yaml @@ -106,7 +106,9 @@ email: portfolio_invite: "{inviter_name} has invited you to a JEDI cloud portfolio" flash: application: - created: '{application_name} has been successfully created. You may continue on to provision environments and assign team members now, or come back and complete these tasks at a later time.' + created: + title: Application Saved + message: '{application_name} has been successfully created. You may continue on to provision environments and assign team members now, or come back and complete these tasks at a later time.' updated: 'You have successfully updated the {application_name} application.' deleted: 'You have successfully deleted the {application_name} application. To view the retained activity log, visit the portfolio administration page.' delete_member_success: 'You have successfully deleted {member_name} from the portfolio.' @@ -341,7 +343,7 @@ portfolios: step_2_header: Add Environments to {application_name} step_2_description: "Production, Staging, Testing, and Development environments are included by default. However, you can add, edit, and delete environments based on the needs of your Application." step_2_button_text: "Next: Add Members" - step_3_header: Invite Members to {application_name} + step_3_header: Add Members to {application_name} step_3_description: "To proceed, you will need each member's email address and DOD ID. Within this section, you will also assign Application-level permissions and environment-level roles for each member." step_3_button_text: Save Application create_new_env: Create a new environment.