2017-04-20 08:25:15 +02:00
|
|
|
{% extends "zerver/portico_signup.html" %}
|
|
|
|
|
|
|
|
{% block portico_content %}
|
|
|
|
<div class="app register-page">
|
2017-05-13 21:40:23 +02:00
|
|
|
<div class="app-main confirm-continue-page-container">
|
2017-04-20 08:25:15 +02:00
|
|
|
<div class="center-container">
|
|
|
|
<div class="center-block">
|
2017-05-13 21:40:23 +02:00
|
|
|
<div class="register-form new-style">
|
2017-04-20 08:25:15 +02:00
|
|
|
<p class="lead">
|
2017-05-13 21:40:23 +02:00
|
|
|
<div class="register-page-header">{{ _("Zulip account not found.") }}</div>
|
2017-04-20 08:25:15 +02:00
|
|
|
</p>
|
2017-05-13 21:40:23 +02:00
|
|
|
<br />
|
2017-04-20 08:25:15 +02:00
|
|
|
{% if invalid_email %}
|
|
|
|
{# If the email address is invalid, we can't send the user #}
|
|
|
|
{# to the preregistered user code path. #}
|
|
|
|
<p>
|
|
|
|
{% trans %}
|
|
|
|
Please click the following button if you wish to register.
|
|
|
|
{% endtrans %}
|
|
|
|
</p>
|
|
|
|
<a href='/register/' class="button-new sea-green">Register</a>
|
|
|
|
{% else %}
|
|
|
|
<p>
|
|
|
|
{% trans %}
|
2017-05-13 21:40:23 +02:00
|
|
|
|
|
|
|
You attempted to login using the email account
|
|
|
|
{{ email }}, but this email address does not
|
|
|
|
have a Zulip account in this organization. If
|
|
|
|
you'd like, you can try to register a new
|
|
|
|
Zulip account with this email address.
|
|
|
|
|
2017-04-20 08:25:15 +02:00
|
|
|
{% endtrans %}
|
|
|
|
</p>
|
|
|
|
{# TODO: Ideally, this should use whatever auth #}
|
|
|
|
{# method the user had used to get here, not just #}
|
|
|
|
{# send an email. #}
|
|
|
|
<form class="form-inline" id="send_confirm" name="send_confirm"
|
|
|
|
action="/register/" method="post">
|
|
|
|
{{ csrf_input }}
|
|
|
|
<input type="hidden"
|
|
|
|
id="email"
|
|
|
|
name="email"
|
|
|
|
value="{{ email }}" />
|
2017-05-13 21:40:23 +02:00
|
|
|
<button class="full-width">
|
|
|
|
{{ _("Continue to registration?") }}
|
|
|
|
</button>
|
2017-04-20 08:25:15 +02:00
|
|
|
</form>
|
|
|
|
{% endif %}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="footer-padder"></div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{% endblock %}
|