From 9cc0ded0922c1c4bf45c8032bb65c33bc6885177 Mon Sep 17 00:00:00 2001 From: Karl Stolley Date: Tue, 12 Dec 2023 16:53:55 -0600 Subject: [PATCH] portico: Correct layout on deactivation pages. --- corporate/tests/test_remote_billing.py | 4 +++- .../corporate/remote_billing_server_deactivate.html | 7 +++---- .../remote_billing_server_deactivated_success.html | 10 ++++------ 3 files changed, 10 insertions(+), 11 deletions(-) diff --git a/corporate/tests/test_remote_billing.py b/corporate/tests/test_remote_billing.py index da024a8ffb..ba887b5c1a 100644 --- a/corporate/tests/test_remote_billing.py +++ b/corporate/tests/test_remote_billing.py @@ -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
{server.hostname}"], result + ) server.refresh_from_db() self.assertEqual(server.deactivated, True) diff --git a/templates/corporate/remote_billing_server_deactivate.html b/templates/corporate/remote_billing_server_deactivate.html index 6d81429f06..55a7d295c0 100644 --- a/templates/corporate/remote_billing_server_deactivate.html +++ b/templates/corporate/remote_billing_server_deactivate.html @@ -6,12 +6,11 @@ {% endblock %} {% block portico_content %} -
-
- +