Move text to translations
This commit is contained in:
parent
05aca75679
commit
bea9439330
@ -145,10 +145,10 @@
|
|||||||
<div class="task-order__modal-cancel">
|
<div class="task-order__modal-cancel">
|
||||||
<form method="post" action="{{ url_for('applications.revoke_invite', application_id=application.id, application_role_id=member.role_id) }}">
|
<form method="post" action="{{ url_for('applications.revoke_invite', application_id=application.id, application_role_id=member.role_id) }}">
|
||||||
{{ member.form.csrf_token }}
|
{{ member.form.csrf_token }}
|
||||||
<h1>Do you want to revoke the invite for {{ member.user_name }}</h1>
|
<h1>{{ "invites.revoke.modal_heading" | translate({'user_name': member.user_name}) }}</h1>
|
||||||
<div class="task-order__modal-cancel_buttons">
|
<div class="task-order__modal-cancel_buttons">
|
||||||
<button class="usa-button usa-button-primary" type="submit">Yes, revoke it</button>
|
<button class="usa-button usa-button-primary" type="submit">{{ "invites.revoke.submit" | translate }}</button>
|
||||||
<button type='button' v-on:click='closeModal("{{revoke_invite_modal}}")' class="usa-button usa-button-primary">No, do not revoke it</button>
|
<button type='button' v-on:click='closeModal("{{revoke_invite_modal}}")' class="usa-button usa-button-primary">{{ "invites.revoke.cancel" | translate }}</button>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
@ -194,7 +194,7 @@
|
|||||||
{% if user_can(permissions.DELETE_APPLICATION_MEMBER) and member.role_status == 'pending' %}
|
{% if user_can(permissions.DELETE_APPLICATION_MEMBER) and member.role_status == 'pending' %}
|
||||||
{% set revoke_invite_modal = "revoke_invite_{}".format(member.role_id) %}
|
{% set revoke_invite_modal = "revoke_invite_{}".format(member.role_id) %}
|
||||||
<a href="#">Resend Invite</a><br>
|
<a href="#">Resend Invite</a><br>
|
||||||
<a v-on:click='openModal("{{ revoke_invite_modal }}")'>Revoke Invite</a>
|
<a v-on:click='openModal("{{ revoke_invite_modal }}")'>{{ 'invites.revoke.button' | translate }}</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
@ -257,6 +257,12 @@ fragments:
|
|||||||
update_btn: Update
|
update_btn: Update
|
||||||
update_ppoc_confirmation_title: Confirmation
|
update_ppoc_confirmation_title: Confirmation
|
||||||
update_ppoc_title: Update primary point of contact
|
update_ppoc_title: Update primary point of contact
|
||||||
|
invites:
|
||||||
|
revoke:
|
||||||
|
button: Revoke Invite
|
||||||
|
modal_heading: 'Do you want to revoke the invite for {user_name}?'
|
||||||
|
submit: Yes, revoke it
|
||||||
|
cancel: No, do not revoke it
|
||||||
login:
|
login:
|
||||||
ccpo_logo_alt_text: Cloud Computing Program Office Logo
|
ccpo_logo_alt_text: Cloud Computing Program Office Logo
|
||||||
certificate_selection:
|
certificate_selection:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user