2018-07-18 23:45:49 +02:00
|
|
|
{% extends "zerver/portico_signup.html" %}
|
|
|
|
|
|
|
|
{% block portico_content %}
|
|
|
|
<div class="register-account flex full-page new-style" id="choose_email">
|
2019-08-02 16:44:05 +02:00
|
|
|
<div class="lead">
|
2018-07-18 23:45:49 +02:00
|
|
|
{% trans %}
|
2019-08-02 16:44:05 +02:00
|
|
|
<h1 class="get-started">Select account</h1>
|
2018-07-18 23:45:49 +02:00
|
|
|
{% endtrans %}
|
|
|
|
</div>
|
|
|
|
|
2019-08-03 12:01:07 +02:00
|
|
|
<div class="white-box">
|
2018-07-18 23:45:49 +02:00
|
|
|
<form method="post" class="form-horizontal" action="/complete/{{ backend }}/">
|
2019-08-03 12:01:07 +02:00
|
|
|
<div class="choose-email-box">
|
2018-07-18 23:45:49 +02:00
|
|
|
<input type="hidden" name="email" value="{{ primary_email }}" />
|
2019-08-03 12:01:07 +02:00
|
|
|
{% if avatar_urls[primary_email] %}
|
|
|
|
<img src="{{ avatar_urls[primary_email] }}" alt=""/>
|
|
|
|
{% else %}
|
|
|
|
<i class="fa fa-plus" aria-hidden="true"></i>
|
|
|
|
{% endif %}
|
|
|
|
<div>
|
|
|
|
<p class="email">
|
|
|
|
{{ primary_email }}
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
GitHub primary
|
|
|
|
{% if avatar_urls[primary_email] %}
|
|
|
|
- Log in
|
|
|
|
{% else %}
|
|
|
|
- Create new account
|
|
|
|
{% endif %}
|
|
|
|
</p>
|
|
|
|
</div>
|
2018-07-18 23:45:49 +02:00
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
{% for email in verified_non_primary_emails %}
|
|
|
|
<form method="post" class="form-horizontal" action="/complete/{{ backend }}/">
|
2019-08-03 12:01:07 +02:00
|
|
|
<div class="choose-email-box">
|
2018-07-18 23:45:49 +02:00
|
|
|
<input type="hidden" name="email" value="{{ email }}" />
|
2019-08-03 12:01:07 +02:00
|
|
|
{% if avatar_urls[email] %}
|
|
|
|
<img src="{{ avatar_urls[email] }}" alt="" class="no-drag"/>
|
|
|
|
{% else %}
|
|
|
|
<i class="fa fa-plus" aria-hidden="true"></i>
|
|
|
|
{% endif %}
|
|
|
|
<div>
|
|
|
|
<p class="email">
|
|
|
|
{{ email }}
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
{% if avatar_urls[email] %}
|
|
|
|
Log in
|
|
|
|
{% else %}
|
|
|
|
Create new account
|
|
|
|
{% endif %}
|
|
|
|
</p>
|
|
|
|
</div>
|
2018-07-18 23:45:49 +02:00
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
{% endfor %}
|
|
|
|
</div>
|
2020-03-28 10:59:06 +01:00
|
|
|
{% if unverified_emails %}
|
|
|
|
<div class="bottom-text">
|
|
|
|
<p>
|
|
|
|
{% trans %}
|
|
|
|
Your GitHub account also has unverified email addresses
|
|
|
|
associated with it.
|
|
|
|
{% endtrans %}
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
{% trans %}
|
2020-08-11 02:20:10 +02:00
|
|
|
To use one of these to log in to Zulip, you must first
|
2020-03-28 10:59:06 +01:00
|
|
|
<a href="https://github.com/settings/emails">verify it with GitHub.</a>
|
|
|
|
{% endtrans %}
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
2018-07-18 23:45:49 +02:00
|
|
|
</div>
|
|
|
|
{% endblock %}
|