mirror of
https://github.com/zulip/zulip.git
synced 2026-07-09 21:21:47 +08:00
Adds HTML title elements to templates that extend either `base.html`, `portico.html` or `portico_signup.html`, and that are not website portico landing pages that will use the `PAGE_TITLE` variable to set the HTML title element (see following commit in series). Also, updates some templates for missing translation tags. As a general rule, we want the title element (and page content) translated. Exceptions that are updated in this commit are templates used in the development environment, analytics templates that are used by staff and templates related to Zephyr.
51 lines
1.3 KiB
HTML
51 lines
1.3 KiB
HTML
{% extends "zerver/portico.html" %}
|
|
|
|
{% block title %}
|
|
<title>{{ _("Invalid email") }} | Zulip</title>
|
|
{% endblock %}
|
|
|
|
{% block portico_content %}
|
|
|
|
<h3>{{ _('Invalid email') }}</h3>
|
|
|
|
<p>{{ _('Hi there! Thank you for your interest in Zulip.') }}</p>
|
|
|
|
{% if invalid_email %}
|
|
<p>
|
|
{% trans %}
|
|
The email address you are trying to sign up with is not valid.
|
|
Please sign up using a valid email address.
|
|
{% endtrans %}
|
|
</p>
|
|
{% endif %}
|
|
|
|
{% if closed_domain %}
|
|
<p>
|
|
{% trans %}
|
|
The organization you are trying to join, {{ realm_name }},
|
|
only allows users with email addresses within the
|
|
organization. Please sign up using appropriate email address.
|
|
{% endtrans %}
|
|
</p>
|
|
{% endif %}
|
|
|
|
{% if disposable_emails_not_allowed %}
|
|
<p>
|
|
{% trans %}The organization you are trying to join,
|
|
{{realm_name}}, does not allow signups using disposable email
|
|
addresses. Please sign up using a real email address.
|
|
{% endtrans %}
|
|
</p>
|
|
{% endif %}
|
|
|
|
{% if email_contains_plus %}
|
|
<p>
|
|
{% trans %}The organization you are trying to join,
|
|
{{realm_name}}, does not allow signups using emails
|
|
that contains +. Please sign up using appropriate email address.
|
|
{% endtrans %}
|
|
</p>
|
|
{% endif %}
|
|
|
|
{% endblock %}
|