Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
modals: Switch revoke_invite_modal modal to compact mode.
Sayam Samal0c96fdf7ef12
diff --git a/web/src/settings_invites.ts b/web/src/settings_invites.tsindex d33e1862ff3..5f4f3a01db9 100644--- a/web/src/settings_invites.ts+++ b/web/src/settings_invites.ts@@ -287,6 +287,7 @@ export function on_load_success(? $t_html({defaultMessage: "Revoke invitation link"}): $t_html({defaultMessage: "Revoke invitation to {email}"}, {email}),modal_content_html,+ is_compact: true,id: "revoke_invite_modal",close_on_submit: false,loading_spinner: true,diff --git a/web/templates/confirm_dialog/confirm_revoke_invite.hbs b/web/templates/confirm_dialog/confirm_revoke_invite.hbsindex 254c65be79c..2b487b0333c 100644--- a/web/templates/confirm_dialog/confirm_revoke_invite.hbs+++ b/web/templates/confirm_dialog/confirm_revoke_invite.hbs@@ -1,9 +1,9 @@{{#if is_multiuse}}-{{#if referred_by}}-<p>{{#tr}}Are you sure you want to revoke this invitation link created by <strong>{referred_by}</strong>?{{/tr}}</p>+ {{#if referred_by}}+ {{#tr}}Are you sure you want to revoke this invitation link created by <strong>{referred_by}</strong>?{{/tr}}+ {{else}}+ {{#tr}}Are you sure you want to revoke this invitation link?{{/tr}}+ {{/if}}{{else}}-<p>{{#tr}}Are you sure you want to revoke this invitation link?{{/tr}}</p>-{{/if}}-{{else}}-<p>{{#tr}}Are you sure you want to revoke the invitation to <strong>{email}</strong>?{{/tr}}</p>+ {{#tr}}Are you sure you want to revoke the invitation to <strong>{email}</strong>?{{/tr}}{{/if}}