mirror of https://github.com/zulip/zulip.git
portico: Correct layout on deactivation pages.
This commit is contained in:
parent
2b879e646c
commit
9cc0ded092
|
@ -786,7 +786,9 @@ class TestGenerateDeactivationLink(BouncerTestCase):
|
|||
result = self.client_post(
|
||||
f"/server/{server.uuid!s}/deactivate/", {"confirmed": "true"}, subdomain="selfhosting"
|
||||
)
|
||||
self.assert_in_success_response([f"Registration deactivated for {server.hostname}"], result)
|
||||
self.assert_in_success_response(
|
||||
[f"Registration deactivated for<br />{server.hostname}"], result
|
||||
)
|
||||
|
||||
server.refresh_from_db()
|
||||
self.assertEqual(server.deactivated, True)
|
||||
|
|
|
@ -6,12 +6,11 @@
|
|||
{% endblock %}
|
||||
|
||||
{% block portico_content %}
|
||||
<div id="server-deactivate-page" class="register-account flex full-page">
|
||||
<div class="center-block new-style">
|
||||
|
||||
<div id="server-deactivate-page" class="register-account account-deactivation flex full-page">
|
||||
<div class="new-style">
|
||||
<div class="pitch">
|
||||
<h1>
|
||||
Deactivate registration for {{ server_hostname }}?
|
||||
Deactivate registration for<br />{{ server_hostname }}?
|
||||
</h1>
|
||||
</div>
|
||||
<div class="white-box">
|
||||
|
|
|
@ -7,16 +7,14 @@
|
|||
|
||||
{% block portico_content %}
|
||||
<div class="app portico-page">
|
||||
<div class="app-main portico-page-container center-block flex full-page account-creation account-email-confirm-container new-style">
|
||||
<div class="app-main portico-page-container flex full-page account-deactivation account-email-confirm-container new-style">
|
||||
<div class="pitch">
|
||||
<h1>
|
||||
Registration deactivated for {{ server_hostname }}
|
||||
Registration deactivated for<br />{{ server_hostname }}
|
||||
</h1>
|
||||
</div>
|
||||
<div class="inline-block">
|
||||
<div class="white-box">
|
||||
<p>Your server's registration has been deactivated.</p>
|
||||
</div>
|
||||
<div class="white-box">
|
||||
<p>Your server's registration has been deactivated.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue