Update styling on revoke invite modal
This commit is contained in:
parent
7a778dd1dd
commit
c7841d4388
@ -98,17 +98,17 @@
|
|||||||
|
|
||||||
{% if user_can_delete_app_member and member.role_status == 'pending' -%}
|
{% if user_can_delete_app_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) %}
|
||||||
{% call Modal(name=revoke_invite_modal, dismissable=True) %}
|
{% call Modal(name=revoke_invite_modal) %}
|
||||||
<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>{{ "invites.revoke" | translate }}</h1>
|
||||||
<h1>{{ "invites.revoke.modal_heading" | translate({'user_name': member.user_name}) }}</h1>
|
<hr>
|
||||||
<div class="task-order__modal-cancel_buttons">
|
{{ "invites.revoke_modal_text" | translate({"application": application.name}) }}
|
||||||
<button class="usa-button usa-button-primary" type="submit">{{ "invites.revoke.submit" | translate }}</button>
|
<div class="action-group">
|
||||||
<button type='button' v-on:click='closeModal("{{revoke_invite_modal}}")' class="usa-button usa-button-primary">{{ "invites.revoke.cancel" | translate }}</button>
|
<button class="action-group__action usa-button usa-button-primary" type="submit">{{ "invites.revoke" | translate }}</button>
|
||||||
</div>
|
<button class='action-group__action usa-button usa-button-secondary' v-on:click='closeModal("{{revoke_invite_modal}}")' type="button">{{ "common.cancel" | translate }}</button>
|
||||||
</form>
|
</div>
|
||||||
</div>
|
</form>
|
||||||
{% endcall %}
|
{% endcall %}
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
@ -156,7 +156,7 @@
|
|||||||
{% set resend_invite_modal = "resend_invite-{}".format(member.role_id) %}
|
{% set resend_invite_modal = "resend_invite-{}".format(member.role_id) %}
|
||||||
<a v-on:click='openModal("{{ resend_invite_modal }}")'>Resend Invite</a><br>
|
<a v-on:click='openModal("{{ resend_invite_modal }}")'>Resend Invite</a><br>
|
||||||
{% if user_can_delete_app_member -%}
|
{% if user_can_delete_app_member -%}
|
||||||
<a v-on:click='openModal("{{ revoke_invite_modal }}")'>{{ 'invites.revoke.button' | translate }}</a>
|
<a v-on:click='openModal("{{ revoke_invite_modal }}")'>{{ 'invites.revoke' | translate }}</a>
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
</td>
|
</td>
|
||||||
|
@ -267,11 +267,8 @@ fragments:
|
|||||||
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:
|
invites:
|
||||||
revoke:
|
revoke: Revoke Invite
|
||||||
button: Revoke Invite
|
revoke_modal_text: "By revoking this invitation to {application}, you are confirming that this member will no longer have access."
|
||||||
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