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.

2.1 KB
Raw Blame
<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>
    {{#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>