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-08-28 19:24:08 +02:00
|
|
|
<div class="lead">
|
|
|
|
<h1 class="get-started">{{ _("Zulip account not found.") }}</h1>
|
|
|
|
</div>
|
|
|
|
<div class="white-box">
|
|
|
|
{% 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>
|
2017-12-14 06:46:57 +01:00
|
|
|
<a href='/register/' class="button-new sea-green">Sign up</a>
|
2017-08-28 19:24:08 +02:00
|
|
|
{% else %}
|
|
|
|
<p>
|
|
|
|
{% trans %}
|
2017-05-13 21:40:23 +02:00
|
|
|
|
2017-08-28 19:24:08 +02:00
|
|
|
No account found for {{ email }}. Would you like to register instead?
|
2017-05-13 21:40:23 +02:00
|
|
|
|
2017-08-28 19:24:08 +02:00
|
|
|
{% endtrans %}
|
|
|
|
</p>
|
|
|
|
<div style="text-align: left;">
|
|
|
|
<form class="form-inline" id="send_confirm" name="send_confirm"
|
2018-04-05 08:38:46 +02:00
|
|
|
action="/login/" method="get">
|
2017-08-28 19:24:08 +02:00
|
|
|
<input type="hidden"
|
2018-04-03 10:07:23 +02:00
|
|
|
id="email"
|
|
|
|
name="email"
|
|
|
|
value="{{ email }}" />
|
2017-08-28 19:24:08 +02:00
|
|
|
<button>
|
|
|
|
{{ _("Go back to login") }}
|
|
|
|
</button>
|
|
|
|
</form>
|
2017-12-07 13:54:51 +01:00
|
|
|
{# TODO: Ideally, this should allow users to register #}
|
|
|
|
{# without going over to /register and re-authenticating. #}
|
2017-08-28 19:24:08 +02:00
|
|
|
<form class="form-inline" id="send_confirm" name="send_confirm"
|
2018-04-05 08:38:46 +02:00
|
|
|
action="/register/" method="get">
|
2017-08-28 19:24:08 +02:00
|
|
|
<button class="outline">
|
2017-12-14 06:46:57 +01:00
|
|
|
{{ _("Sign up instead") }}
|
2017-08-28 19:24:08 +02:00
|
|
|
</button>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
2017-07-17 17:31:05 +02:00
|
|
|
</div>
|
2017-04-20 08:25:15 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="footer-padder"></div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{% endblock %}
|