Skip to content

Commit

Permalink
invitations: Improve text in resend confirmation modal.
Browse files Browse the repository at this point in the history
Importantly, this clarifies that this is useless for expired invites.

Fixes: zulip#28829
  • Loading branch information
Sohaib-Ahmed21 authored and timabbott committed Feb 16, 2024
1 parent 4f89a0f commit d2bc94a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion web/src/settings_invites.ts
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ export function on_load_success(
const html_body = render_settings_resend_invite_modal({email});

confirm_dialog.launch({
html_heading: $t_html({defaultMessage: "Resend invitation"}),
html_heading: $t_html({defaultMessage: "Resend invitation?"}),
html_body,
on_click() {
do_resend_invite({$row, invite_id});
Expand Down
5 changes: 5 additions & 0 deletions web/templates/confirm_dialog/confirm_resend_invite.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,8 @@
{{#*inline "z-email"}}<strong>{{email}}</strong>{{/inline}}
{{/tr}}
</p>
<p>
{{#tr}}
This will not change the expiration time for this invitation.
{{/tr}}
</p>

0 comments on commit d2bc94a

Please sign in to comment.