Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

templates: Fix blueslip number error in confirm_deactivate_user.hbs.

Sayam Samald137e633be01
diff --git a/web/templates/confirm_dialog/confirm_deactivate_user.hbs b/web/templates/confirm_dialog/confirm_deactivate_user.hbs
index 1503b8abe59..bba784bb579 100644
--- a/web/templates/confirm_dialog/confirm_deactivate_user.hbs
+++ b/web/templates/confirm_dialog/confirm_deactivate_user.hbs
@@ -6,11 +6,11 @@
</p>
<p>{{t "Their password will be cleared from our systems, and any bots they maintain will be disabled." }}</p>
<p>
- {{#if number_of_invites_by_user}}
+ {{#unless (eq number_of_invites_by_user 0)}}
{{#tr}}
<strong>{username}</strong> has {number_of_invites_by_user, plural, one {# unexpired invitation} other {# unexpired invitations}}.
{{/tr}}
- {{/if}}
+ {{/unless}}
</p>
{{#unless (eq bots_owned_by_user.length 0)}}
<p>