Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
popover: Hide unexpired invitation count when it is 0.
whilstsomebody22341c18db93
diff --git a/web/templates/confirm_dialog/confirm_deactivate_user.hbs b/web/templates/confirm_dialog/confirm_deactivate_user.hbsindex 2a77f30d96d..17765a60c17 100644--- a/web/templates/confirm_dialog/confirm_deactivate_user.hbs+++ b/web/templates/confirm_dialog/confirm_deactivate_user.hbs@@ -6,9 +6,11 @@</p><p>{{t "Their password will be cleared from our systems, and any bots they maintain will be disabled." }}</p><p>- {{#tr}}- <strong>{username}</strong> has {number_of_invites_by_user} unexpired invitations.- {{/tr}}+ {{#if number_of_invites_by_user}}+ {{#tr}}+ <strong>{username}</strong> has {number_of_invites_by_user, plural, one {# unexpired invitation} other {# unexpired invitations}}.+ {{/tr}}+ {{/if}}{{#if bots_owned_by_user}}{{t "They administer the following bots:"}}<ul>