Update copy for new app provisioning
- change flashed message for adding members - use the correct helper text for the app name input - a few other updates to text in translations
This commit is contained in:
parent
33e82bfb83
commit
24be9a6a61
@ -183,11 +183,7 @@ def handle_create_member(application_id, form_data):
|
|||||||
token=invite.token,
|
token=invite.token,
|
||||||
)
|
)
|
||||||
|
|
||||||
flash(
|
flash("new_application_member", user_name=invite.first_name)
|
||||||
"new_application_member",
|
|
||||||
user_name=invite.user_name,
|
|
||||||
application_name=application.name,
|
|
||||||
)
|
|
||||||
|
|
||||||
except AlreadyExistsError:
|
except AlreadyExistsError:
|
||||||
return render_template(
|
return render_template(
|
||||||
|
@ -104,9 +104,9 @@ MESSAGES = {
|
|||||||
"category": "warning",
|
"category": "warning",
|
||||||
},
|
},
|
||||||
"new_application_member": {
|
"new_application_member": {
|
||||||
"title_template": translate("flash.success"),
|
"title_template": """{{ "flash.new_application_member.title" | translate({ "user_name": user_name }) }}""",
|
||||||
"message_template": """
|
"message_template": """
|
||||||
<p>{{ "flash.new_application_member" | translate({ "user_name": user_name, "application_name": application_name }) }}</p>
|
<p>{{ "flash.new_application_member.message" | translate({ "user_name": user_name }) }}</p>
|
||||||
""",
|
""",
|
||||||
"category": "success",
|
"category": "success",
|
||||||
},
|
},
|
||||||
|
@ -28,7 +28,7 @@
|
|||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
<div class="form-col form-col--two-thirds">
|
<div class="form-col form-col--two-thirds">
|
||||||
{{ TextInput(form.name, optional=False) }}
|
{{ TextInput(form.name, optional=False) }}
|
||||||
{{ ('portfolios.applications.new.step_1_form_help_text.description' | translate | safe) }}
|
{{ ('portfolios.applications.new.step_1_form_help_text.name' | translate | safe) }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<hr>
|
<hr>
|
||||||
|
@ -106,7 +106,7 @@ email:
|
|||||||
portfolio_invite: "{inviter_name} has invited you to a JEDI cloud portfolio"
|
portfolio_invite: "{inviter_name} has invited you to a JEDI cloud portfolio"
|
||||||
flash:
|
flash:
|
||||||
application:
|
application:
|
||||||
created: 'You have successfully created the {application_name} 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.'
|
||||||
updated: 'You have successfully updated the {application_name} application.'
|
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.'
|
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.'
|
delete_member_success: 'You have successfully deleted {member_name} from the portfolio.'
|
||||||
@ -118,7 +118,9 @@ flash:
|
|||||||
new_ppoc_message: 'You have successfully added {ppoc_name} as the primary point of contact. You are no longer the PPoC.'
|
new_ppoc_message: 'You have successfully added {ppoc_name} as the primary point of contact. You are no longer the PPoC.'
|
||||||
new_ppoc_title: Primary point of contact updated
|
new_ppoc_title: Primary point of contact updated
|
||||||
success: Success!
|
success: Success!
|
||||||
new_application_member: '{user_name} has been added to {application_name}. They will not have access until they accept the invitation e-mailed to them and CSP processing is complete.'
|
new_application_member:
|
||||||
|
title: "{user_name}'s invitation has been sent"
|
||||||
|
message: "{user_name}'s access to this Application is pending until they sign in for the first time."
|
||||||
updated_application_team_settings: 'You have updated the {application_name} team settings.'
|
updated_application_team_settings: 'You have updated the {application_name} team settings.'
|
||||||
logged_out: Logged out
|
logged_out: Logged out
|
||||||
footer:
|
footer:
|
||||||
@ -310,12 +312,12 @@ portfolios:
|
|||||||
app_settings_text: App settings
|
app_settings_text: App settings
|
||||||
new:
|
new:
|
||||||
step_1_header: Name and Describe New Application
|
step_1_header: Name and Describe New Application
|
||||||
step_1_button_text: "Save and Add Environments"
|
step_1_button_text: "Next: Add Environments"
|
||||||
step_1_form_help_text:
|
step_1_form_help_text:
|
||||||
name: |
|
name: |
|
||||||
<div style="margin-top: -3rem;">
|
<div style="margin-top: -3rem;">
|
||||||
<p>
|
<p>
|
||||||
The name of your application should be intuitive and easily recognizable for all of your team members.
|
The name of your Application should be intuitive and easily recognizable for all of your team members.
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
<strong>Writer's Block? A naming example includes:</strong>
|
<strong>Writer's Block? A naming example includes:</strong>
|
||||||
@ -330,7 +332,7 @@ portfolios:
|
|||||||
Add a brief one to two sentence description of your application. You should be able to reference your TO Description of Work.
|
Add a brief one to two sentence description of your application. You should be able to reference your TO Description of Work.
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
<strong>Writer's Block? A naming example includes:</strong>
|
<strong>Writer's Block? A description example includes:</strong>
|
||||||
<ul>
|
<ul>
|
||||||
<li>Build security applications for FOB Clark</li>
|
<li>Build security applications for FOB Clark</li>
|
||||||
</ul>
|
</ul>
|
||||||
@ -338,9 +340,9 @@ portfolios:
|
|||||||
</div>
|
</div>
|
||||||
step_2_header: Add Environments to {application_name}
|
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_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: "Save and Add Members"
|
step_2_button_text: "Next: Add Members"
|
||||||
step_3_header: Invite Members to {application_name}
|
step_3_header: Invite 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_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
|
step_3_button_text: Save Application
|
||||||
create_new_env: Create a new environment.
|
create_new_env: Create a new environment.
|
||||||
create_new_env_info: Creating an environment gives you access to the Cloud Service Provider. This environment will function within the constraints of the task order, and any costs will be billed against the portfolio.
|
create_new_env_info: Creating an environment gives you access to the Cloud Service Provider. This environment will function within the constraints of the task order, and any costs will be billed against the portfolio.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user