Move text into translations file

This commit is contained in:
leigh-mil
2019-08-08 11:39:57 -04:00
parent a6eb89ffb8
commit 1b86147ab6
5 changed files with 34 additions and 17 deletions

View File

@@ -5,13 +5,13 @@
{% block content %}
{% if new_user %}
{% call Alert('Confirm new CCPO user') %}
{% call Alert('ccpo.form.confirm_user_title' | translate) %}
<form id="add-ccpo-user-form" action="{{ url_for('ccpo.confirm_new_ccpo_user') }}" method="POST">
{{ form.csrf_token }}
<input type="hidden" name="dod_id" value="{{ form.dod_id.data }}">
<div>
<p>
Please confirm that the user details below match the user being given CCPO permissions.
{{ "ccpo.form.confirm_user_text" | translate }}
</p>
<p>
{{ new_user.full_name }}
@@ -25,17 +25,21 @@
type='submit'
v-bind:disabled="invalid"
class='action-group__action usa-button'
value='Confirm and Add User'>
<a class='action-group__action icon-link icon-link--default' href="{{ url_for('ccpo.ccpo_users') }}">{{ "common.cancel" | translate }}</a>
value='{{ "ccpo.form.confirm_button" | translate }}'>
<a class='action-group__action icon-link icon-link--default' href="{{ url_for('ccpo.ccpo_users') }}">
{{ "common.cancel" | translate }}
</a>
</div>
</form>
{% endcall %}
{% else %}
{% call Alert('forms.ccpo_user.user_not_found' | translate) %}
To add someone as a CCPO user, they must already have an ATAT account.
{% call Alert('ccpo.form.user_not_found_title' | translate) %}
<p>
{{ "ccpo.form.user_not_found_text" | translate }}
</p>
<div class='action-group'>
<a class='action-group__action icon-link icon-link--default' href="{{ url_for('ccpo.ccpo_users') }}">
Return to list of CCPO users
{{ "ccpo.form.return_link" | translate }}
</a>
</div>
{% endcall %}