mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 13:03:29 +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;
|
||||
}
|
||||
|
||||
.bottom-text {
|
||||
text-align: center;
|
||||
margin-top: 20px;
|
||||
font-weight: 500;
|
||||
font-size: 0.9em;
|
||||
}
|
||||
|
||||
.grey {
|
||||
color: hsl(0, 0%, 67%);
|
||||
}
|
||||
|
||||
@@ -2,10 +2,9 @@
|
||||
|
||||
{% block portico_content %}
|
||||
<div class="register-account flex full-page new-style" id="choose_email">
|
||||
|
||||
<div class="pitch">
|
||||
<div class="lead">
|
||||
{% trans %}
|
||||
<h1>Select email</h1>
|
||||
<h1 class="get-started">Select account</h1>
|
||||
{% endtrans %}
|
||||
</div>
|
||||
|
||||
@@ -29,5 +28,8 @@
|
||||
</form>
|
||||
{% endfor %}
|
||||
</div>
|
||||
<div class="bottom-text">
|
||||
Only verified GitHub email addresses are listed.
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
@@ -570,7 +570,7 @@ class SocialAuthBase(ZulipTestCase):
|
||||
# TODO: Generalize this testing code for use with other
|
||||
# authentication backends; for now, we just assert that
|
||||
# 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/"
|
||||
|
||||
# Testing hack: When the pipeline goes to the partial
|
||||
|
||||
Reference in New Issue
Block a user