Back to Zulip

{{ _('Create your organization') }}

templates/zerver/create_user/register.html

12.03.6 KB
Original Source

{% extends "zerver/portico_signup.html" %} {% set entrypoint = "register" %} {% block title %}

{{ _("Registration") }} | Zulip{% endblock %} {# Gather other user information, after having confirmed their email address. Form is validated both client-side using jquery-validation (see signup.js) and server-side. #} {% block portico_content %}

{% if creating_new_realm %}

{{ _('Create your organization') }}

{% else %}

{{ _('Create your account') }}

{% endif %} {% trans %}

Enter your account details to complete registration.

{% endtrans %} {{ csrf_input }} {% if creating_new_realm %} {{ _('Your organization') }} {% if not form.realm_subdomain.errors %} {% endif %} {% with %} {% set user_registration_form = "true" %} {% include 'zerver/create_realm/realm_creation_name_form_field.html' %} {% include 'zerver/create_realm/realm_creation_base_form_fields.html' %} {% include 'zerver/create_realm/realm_creation_subdomain_form_field.html' %} {% if is_realm_import_enabled %} {% include 'zerver/create_realm/realm_creation_import_form_field.html' %} {% endif %} {% endwith %} {% if not form.realm_subdomain.errors %}

{{ _('Organization name') }} {{ form.realm_name.value() }}

{{ _('Organization type') }} {{ selected_realm_type_name }}

{{ _('Organization language') }} {{ selected_realm_default_language_name }}

{{ _('Organization URL') }} {% if form.realm_subdomain.value() %}{{ form.realm_subdomain.value() }}.{% endif %}{{external_host}}

{% endif %} {% endif %} {% if creating_new_realm %} {{ _('Your account') }} {% endif %} {% if realm_name and not creating_new_realm %}

{{ realm_name }}

{{ realm_url }}

{% endif %} {{ _('Email') }} {{ email }} {% if not creating_new_realm %} {% include 'zerver/create_user/new_user_email_address_visibility.html' %} {% endif %} {% if accounts %}

{{ _('Don’t import settings') }} {% for account in accounts %} {{ account.realm_name }} {% endfor %} {{ _('Import settings from existing Zulip account') }} {% endif %} {% if lock_name %}

{{ full_name }}

{% else %} {{ _('Name') }} {% if form.full_name.errors %} {% for error in form.full_name.errors %}

{{ error }}

{% endfor %} {% endif %} {% endif %}

{{ _('This is how your account is displayed in Zulip.') }}

{% if require_ldap_password %} {{ _('Password') }} {{ _('Enter your LDAP/Active Directory password.') }} {% elif password_required %} {{ _('Password') }} {% if full_name %} {{ _('This is used for mobile applications and other tools that require a password.') }} {% endif %} {% if form.password.errors %} {% for error in form.password.errors %}

{{ error }}

{% endfor %} {% endif %}

{% endif %} {% if default_stream_groups %}


{{ _('What are you interested in?') }}

{% for default_stream_group in default_stream_groups %} {% set comma = joiner(", ") %} {{ default_stream_group.name }} ( {%- for stream in default_stream_group.streams.all() -%} {{- comma() -}} #{{ stream.name }} {%- endfor -%} ) {% endfor %}


{% endif %} {% if creating_new_realm %} {% include 'zerver/create_realm/found_zulip_form_field.html' %} {% endif %} {% if terms_of_service %} {% include 'zerver/create_user/terms_of_service_form_field.html' %} {% endif %} {% if corporate_enabled %} {% trans %}Subscribe me to Zulip's low-traffic newsletter (a few emails a year).{% endtrans %} {% endif %} {{ _('Sign up') }}

{% if not creating_new_realm %} {% include 'zerver/create_user/change_email_address_visibility_modal.html' %} {% endif %} {% endblock %}