mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 04:53:36 +00:00
This commit extracts html for setting new user email address visibility in the registration page to a separate file. This new file will then be used to allow imported users set email visibility during login without having to duplicate the code.
20 lines
1.1 KiB
HTML
20 lines
1.1 KiB
HTML
<p id="new-user-email-address-visibility">
|
|
<input type="hidden" name="email_address_visibility" id="email_address_visibility"/>
|
|
<span class="current-selected-option">
|
|
{% if default_email_address_visibility == email_address_visibility_admins_only %}
|
|
{% trans %}Administrators of this Zulip organization will be able to see this email address.
|
|
{% endtrans %}
|
|
{% elif default_email_address_visibility == email_address_visibility_moderators %}
|
|
{% trans %}Administrators and moderators of this Zulip organization will be able to see this email address.
|
|
{% endtrans %}
|
|
{% elif default_email_address_visibility == email_address_visibility_nobody %}
|
|
{% trans %}Nobody in this Zulip organization will be able to see this email address.
|
|
{% endtrans %}
|
|
{% else %}
|
|
{% trans %}Other users in this Zulip organization will be able to see this email address.
|
|
{% endtrans %}
|
|
{% endif %}
|
|
</span>
|
|
<a target="_blank" class="change_email_address_visibility" rel="noopener noreferrer">{{ _('Change') }}</a>
|
|
</p>
|