snapshot of https://github.com/zulip/zulip.git @ 48c69911c7dd4e03b20552eb3bd77ad8151c1357 (2026-09-15)
Some checks failed
Code scanning / CodeQL (push) Failing after 15s
Zulip production suite / Ubuntu 22.04 production build (push) Failing after 26s
Zulip production suite / Debian 12 production install with custom db name and user (push) Has been skipped
Zulip production suite / Ubuntu 22.04 production install and PostgreSQL upgrade with pgroonga (push) Has been skipped
Zulip production suite / Ubuntu 24.04 production install (push) Has been skipped
Zulip production suite / Ubuntu 26.04 production install (push) Has been skipped
Zulip production suite / Debian 13 production install (push) Has been skipped
Zulip production suite / 7.0 Version Upgrade (push) Has been skipped
Zulip production suite / 8.0 Version Upgrade (push) Has been skipped
Zulip production suite / 6.0 Version Upgrade (push) Has been skipped
Zulip production suite / 10.0 Version Upgrade (push) Has been skipped
Zulip production suite / 9.0 Version Upgrade (push) Has been skipped
Zulip production suite / 12.0 Version Upgrade (push) Has been skipped
Zulip production suite / 11.0 Version Upgrade (push) Has been skipped
GitHub Actions Security Analysis with zizmor / zizmor (push) Failing after 3s
Zulip CI / Debian 12 (Python 3.11, backend + documentation) (push) Failing after 26s
Zulip CI / Ubuntu 22.04 (Python 3.10, backend + frontend) (push) Failing after 3s
Zulip CI / Ubuntu 24.04 (Python 3.12, backend) (push) Failing after 25s
Zulip CI / Ubuntu 26.04 (Python 3.14, backend) (push) Failing after 25s
Zulip CI / Debian 13 (Python 3.13, backend) (push) Failing after 28s
Zulip production suite / Required jobs (push) Has been cancelled
Zulip CI / Required jobs (push) Has been cancelled
API Documentation Update Check / check-feature-level-updated (push) Has been cancelled
API Documentation Update Check / notify-if-api-docs-changed (push) Has been cancelled
Some checks failed
Code scanning / CodeQL (push) Failing after 15s
Zulip production suite / Ubuntu 22.04 production build (push) Failing after 26s
Zulip production suite / Debian 12 production install with custom db name and user (push) Has been skipped
Zulip production suite / Ubuntu 22.04 production install and PostgreSQL upgrade with pgroonga (push) Has been skipped
Zulip production suite / Ubuntu 24.04 production install (push) Has been skipped
Zulip production suite / Ubuntu 26.04 production install (push) Has been skipped
Zulip production suite / Debian 13 production install (push) Has been skipped
Zulip production suite / 7.0 Version Upgrade (push) Has been skipped
Zulip production suite / 8.0 Version Upgrade (push) Has been skipped
Zulip production suite / 6.0 Version Upgrade (push) Has been skipped
Zulip production suite / 10.0 Version Upgrade (push) Has been skipped
Zulip production suite / 9.0 Version Upgrade (push) Has been skipped
Zulip production suite / 12.0 Version Upgrade (push) Has been skipped
Zulip production suite / 11.0 Version Upgrade (push) Has been skipped
GitHub Actions Security Analysis with zizmor / zizmor (push) Failing after 3s
Zulip CI / Debian 12 (Python 3.11, backend + documentation) (push) Failing after 26s
Zulip CI / Ubuntu 22.04 (Python 3.10, backend + frontend) (push) Failing after 3s
Zulip CI / Ubuntu 24.04 (Python 3.12, backend) (push) Failing after 25s
Zulip CI / Ubuntu 26.04 (Python 3.14, backend) (push) Failing after 25s
Zulip CI / Debian 13 (Python 3.13, backend) (push) Failing after 28s
Zulip production suite / Required jobs (push) Has been cancelled
Zulip CI / Required jobs (push) Has been cancelled
API Documentation Update Check / check-feature-level-updated (push) Has been cancelled
API Documentation Update Check / notify-if-api-docs-changed (push) Has been cancelled
This commit is contained in:
59
web/templates/confirm_dialog/confirm_deactivate_user.hbs
Normal file
59
web/templates/confirm_dialog/confirm_deactivate_user.hbs
Normal file
@@ -0,0 +1,59 @@
|
||||
<p>
|
||||
{{#tr}}
|
||||
When you deactivate <z-user></z-user>, they will be immediately logged out.
|
||||
{{#*inline "z-user"}}<strong>{{username}}</strong>{{#if email}} <{{email}}>{{/if}}{{/inline}}
|
||||
{{/tr}}
|
||||
</p>
|
||||
<p>{{t "Their password will be cleared from our systems, and any bots they maintain will be disabled." }}</p>
|
||||
<p>
|
||||
{{#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}}
|
||||
{{/unless}}
|
||||
</p>
|
||||
{{#unless (eq bots_owned_by_user.length 0)}}
|
||||
<p>
|
||||
{{t "They administer the following bots:"}}
|
||||
</p>
|
||||
<ul>
|
||||
{{#each bots_owned_by_user}}
|
||||
<li>{{this.full_name}}</li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
{{/unless}}
|
||||
<label class="checkbox">
|
||||
<input type="checkbox" class="send_email" />
|
||||
<span class="rendered-checkbox"></span>
|
||||
{{t "Notify this user by email?" }}
|
||||
</label>
|
||||
<div class="email_field">
|
||||
<p class="border-top">
|
||||
<strong>{{t "Subject" }}:</strong>
|
||||
{{t "Notification of account deactivation on {realm_name}" }}
|
||||
</p>
|
||||
<div class="email-body">
|
||||
<p>
|
||||
{{#tr}}
|
||||
Your Zulip account on <z-link></z-link> has been deactivated,
|
||||
and you will no longer be able to log in.
|
||||
{{#*inline "z-link"}}<a href="{{realm_url}}">{{realm_url}}</a>{{/inline}}
|
||||
{{/tr}}
|
||||
</p>
|
||||
<p>{{t "The administrators provided the following comment:" }}</p>
|
||||
<textarea class="email_field_textarea modal-textarea" rows="8" maxlength="2000"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
<div class="deactivate-actions">
|
||||
<label>{{t "Choose content to delete"}}</label>
|
||||
<div class="input-group">
|
||||
{{#each user_deactivation_actions}}
|
||||
<label class="checkbox">
|
||||
<input type="checkbox" data-key="{{this.key}}"/>
|
||||
<span class="rendered-checkbox"></span>
|
||||
{{this.value}}
|
||||
</label>
|
||||
<br/>
|
||||
{{/each}}
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user