mirror of
https://github.com/zulip/zulip.git
synced 2025-11-05 14:35:27 +00:00
auth: Change page title and add description for the list.
I changed the class of the title in order to use the same styling as the other similar pages (like `/accounts/go` or `/login`). Changed the related test.
This commit is contained in:
committed by
Tim Abbott
parent
f109dcce9c
commit
e5e45c9a25
@@ -26,6 +26,13 @@ html {
|
|||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.bottom-text {
|
||||||
|
text-align: center;
|
||||||
|
margin-top: 20px;
|
||||||
|
font-weight: 500;
|
||||||
|
font-size: 0.9em;
|
||||||
|
}
|
||||||
|
|
||||||
.grey {
|
.grey {
|
||||||
color: hsl(0, 0%, 67%);
|
color: hsl(0, 0%, 67%);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,10 +2,9 @@
|
|||||||
|
|
||||||
{% block portico_content %}
|
{% block portico_content %}
|
||||||
<div class="register-account flex full-page new-style" id="choose_email">
|
<div class="register-account flex full-page new-style" id="choose_email">
|
||||||
|
<div class="lead">
|
||||||
<div class="pitch">
|
|
||||||
{% trans %}
|
{% trans %}
|
||||||
<h1>Select email</h1>
|
<h1 class="get-started">Select account</h1>
|
||||||
{% endtrans %}
|
{% endtrans %}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -29,5 +28,8 @@
|
|||||||
</form>
|
</form>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
|
<div class="bottom-text">
|
||||||
|
Only verified GitHub email addresses are listed.
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|||||||
@@ -570,7 +570,7 @@ class SocialAuthBase(ZulipTestCase):
|
|||||||
# TODO: Generalize this testing code for use with other
|
# TODO: Generalize this testing code for use with other
|
||||||
# authentication backends; for now, we just assert that
|
# authentication backends; for now, we just assert that
|
||||||
# it's definitely the GitHub authentication backend.
|
# it's definitely the GitHub authentication backend.
|
||||||
self.assert_in_success_response(["Select email"], result)
|
self.assert_in_success_response(["Select account"], result)
|
||||||
assert self.AUTH_FINISH_URL == "/complete/github/"
|
assert self.AUTH_FINISH_URL == "/complete/github/"
|
||||||
|
|
||||||
# Testing hack: When the pipeline goes to the partial
|
# Testing hack: When the pipeline goes to the partial
|
||||||
|
|||||||
Reference in New Issue
Block a user