diff --git a/templates/fragments/members.html b/templates/fragments/members.html index a481f34b..041637f4 100644 --- a/templates/fragments/members.html +++ b/templates/fragments/members.html @@ -98,17 +98,17 @@ {% if user_can_delete_app_member and member.role_status == 'pending' -%} {% set revoke_invite_modal = "revoke_invite_{}".format(member.role_id) %} - {% call Modal(name=revoke_invite_modal, dismissable=True) %} -
-
- {{ member.form.csrf_token }} -

{{ "invites.revoke.modal_heading" | translate({'user_name': member.user_name}) }}

-
- - -
-
-
+ {% call Modal(name=revoke_invite_modal) %} +
+ {{ member.form.csrf_token }} +

{{ "invites.revoke" | translate }}

+
+ {{ "invites.revoke_modal_text" | translate({"application": application.name}) }} +
+ + +
+
{% endcall %} {%- endif %} {% endfor %} @@ -156,7 +156,7 @@ {% set resend_invite_modal = "resend_invite-{}".format(member.role_id) %} Resend Invite
{% if user_can_delete_app_member -%} - {{ 'invites.revoke.button' | translate }} + {{ 'invites.revoke' | translate }} {%- endif %} {%- endif %} diff --git a/translations.yaml b/translations.yaml index 80cfd9f9..a77da2eb 100644 --- a/translations.yaml +++ b/translations.yaml @@ -267,11 +267,8 @@ fragments: update_ppoc_confirmation_title: Confirmation 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 + revoke: Revoke Invite + revoke_modal_text: "By revoking this invitation to {application}, you are confirming that this member will no longer have access." login: ccpo_logo_alt_text: Cloud Computing Program Office Logo certificate_selection: