Move text to translations file
This commit is contained in:
parent
be178733cf
commit
e0872d1095
@ -5,9 +5,9 @@
|
||||
{% for env_form in members_form.envs %}
|
||||
{% if env_form.env_id.data == env['id'] %}
|
||||
<div class='app-team-settings-link'>
|
||||
Need to add someone new to the team?
|
||||
{{ 'fragments.edit_environment_team_form.add_new_member_text' | translate }}
|
||||
<a href='{{ url_for("applications.team", application_id=application.id) }}'>
|
||||
Jump to Team Settings
|
||||
{{ 'fragments.edit_environment_team_form.add_new_member_link' | translate }}
|
||||
</a>
|
||||
</div>
|
||||
<form
|
||||
@ -20,13 +20,15 @@
|
||||
v-bind:initial-roles='{{ env_form.team_roles.data | tojson }}'>
|
||||
<div>
|
||||
<div v-for='(role, roleindex) in roles' class='environment-role'>
|
||||
<h4 v-if='checkNoAccess(role.role)'>Unassigned (No Access)</h4>
|
||||
<h4 v-if='checkNoAccess(role.role)'>
|
||||
{{ 'fragments.edit_environment_team_form.unassigned_title' | translate }}
|
||||
</h4>
|
||||
<h4 v-else v-html='role.role'></h4>
|
||||
<ul class='environment-role__users'>
|
||||
<div
|
||||
v-if="role.members && !role.members.length"
|
||||
class='environment-role__no-user'>
|
||||
Currently no members are in this role
|
||||
{{ 'fragments.edit_environment_team_form.no_members' | translate }}
|
||||
</div>
|
||||
<li
|
||||
v-for='(member, memberindex) in role.members'
|
||||
@ -58,7 +60,9 @@
|
||||
v-bind:value='role.role'>
|
||||
<label
|
||||
v-bind:for="'envs-{{ loop.index0 }}-team_roles-' + roleindex + '-members-' + memberindex + '-role-' + roleinputindex">
|
||||
<span v-if='checkNoAccess(role.role)'>No Access</span>
|
||||
<span v-if='checkNoAccess(role.role)'>
|
||||
{{ 'fragments.edit_environment_team_form.no_access' | translate }}
|
||||
</span>
|
||||
<span v-else v-html='role.role'></span>
|
||||
</label>
|
||||
</li>
|
||||
|
@ -332,7 +332,11 @@ fragments:
|
||||
explain: AT-AT allows you to create multiple applications within a portfolio. Each application can then be broken down into its own customizable environments.
|
||||
new_application_title: Add a new application
|
||||
edit_environment_team_form:
|
||||
delete_environment_title: Are you sure you want to delete this environment?
|
||||
delete_environment_title: Are you sure you want to delete this environment?add_new_member_text: Need to add someone new to the team?
|
||||
add_new_member_link: Jump to Team Settings
|
||||
unassigned_title: Unassigned (No Access)
|
||||
no_members: Currently no members are in this role
|
||||
no_access: No Access
|
||||
edit_user_form:
|
||||
date_last_training_tooltip: When was the last time you completed the IA training? <br> Information Assurance (IA) training is an important step in cyber awareness.
|
||||
save_details_button: Save
|
||||
|
Loading…
x
Reference in New Issue
Block a user