diff --git a/templates/zerver/invalid_email.html b/templates/zerver/invalid_email.html index d84bde29c1..78e6aacecd 100644 --- a/templates/zerver/invalid_email.html +++ b/templates/zerver/invalid_email.html @@ -5,46 +5,38 @@ {% endblock %} {% block portico_content %} - -
{{ _('Hi there! Thank you for your interest in Zulip.') }}
- - {% if invalid_email %} -- {% trans %} - The email address you are trying to sign up with is not valid. - Please sign up using a valid email address. - {% endtrans %} -
- {% endif %} - - {% if closed_domain %} -- {% 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 %} -
- {% endif %} - - {% if disposable_emails_not_allowed %} -- {% 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 %} -
- {% endif %} - - {% if email_contains_plus %} -- {% 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 %} -
- {% endif %} - ++ {% if invalid_email %} + {{ _("The email address you are trying to sign up with is not valid.") }} + {% endif %} + {% if closed_domain %} + {% trans %}The organization you are trying to join, {{ realm_name }}, does not allow signups using emails with your email domain.{% endtrans %} + {% endif %} + {% if disposable_emails_not_allowed %} + {% trans %}The organization you are trying to join, {{ realm_name }}, does not allow signups using disposable email addresses.{% endtrans %} + {% endif %} + {% if email_contains_plus %} + {% trans %}The organization you are trying to join, {{ realm_name }}, does not allow signups using emails that contain "+".{% endtrans %} + {% endif %} + {% if invalid_email %} + {{ _("Please sign up using a valid email address.") }} + {% else %} + {{ _("Please sign up using an allowed email address.") }} + {% endif %} +
+