diff --git a/templates/applications/settings.html b/templates/applications/settings.html index d1af60e8..d2937b89 100644 --- a/templates/applications/settings.html +++ b/templates/applications/settings.html @@ -175,9 +175,22 @@ {% endfor %} - {% if 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) %} + {% call Modal(name=revoke_invite_modal, dismissable=True) %} +
+
+ {{ member.form.csrf_token }} +

Do you want to revoke the invite for {{ member.user_name }}

+
+ + +
+
+
+ {% endcall %} Resend Invite
- Revoke Invite + Revoke Invite {% endif %}