Files
zulip/static/templates/confirm_dialog/confirm_deactivate_user.hbs
Sahil Batra 1c0b9b8c7a css: Extract common bootstrap CSS rules for textarea in settings.
This commit extracts some common bootstrap rules used for textarea
elements in settings (both organization and stream settings) and
this rules are added for settings_textarea class. We also add
settings_textarea class to the textarea elements in settings.

This change is done so we can safely remove textarea CSS rules
for bootstrap.css as a part of our process to remove bootstrap
without changing existing design.
2022-12-13 12:03:06 -08:00

47 lines
1.5 KiB
Handlebars

<p>
{{#tr}}
When you deactivate <z-user></z-user>, they will be immediately logged out.
{{#*inline "z-user"}}<strong>{{username}}</strong>{{#if email}} &lt;{{email}}&gt;{{/if}}{{/inline}}
{{/tr}}
</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 bots_owned_by_user}}
{{t "They administer the following bots:"}}
<ul>
{{#each bots_owned_by_user}}
<li>{{this.full_name}}</li>
{{/each}}
</ul>
{{/if}}
</p>
<label class="checkbox">
<input type="checkbox" class="send_email" data-key="{{ key }}" />
{{#tr}}
Notify this user by email?
{{/tr}}
<span></span>
</label>
<div class="email_field">
<p class="border-top">
<strong>{{t "Subject" }}:</strong>
{{#tr}}
Notification of account deactivation on {realm_name}
{{/tr}}
</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_uri}}">{{realm_uri}}</a>{{/inline}}
{{/tr}}
</p>
<p>{{t "The administrators provided the following comment:" }}</p>
<textarea class="email_field_textarea settings_textarea" rows="8" maxlength="2000"></textarea>
</div>
</div>