From 0d08fe90a85e110e1139b53f6973aa9ab0e2d351 Mon Sep 17 00:00:00 2001 From: Aman Agrawal Date: Wed, 13 Dec 2023 02:17:33 +0000 Subject: [PATCH] remote_billing_email_confirm: Minor text changes. * Move email early in text to reduce change of it wrapping to next line. * Change 2 hours to 24 hours. --- corporate/tests/test_remote_billing.py | 2 +- templates/corporate/remote_billing_email_confirmation_sent.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/corporate/tests/test_remote_billing.py b/corporate/tests/test_remote_billing.py index 9361023638..a80c126323 100644 --- a/corporate/tests/test_remote_billing.py +++ b/corporate/tests/test_remote_billing.py @@ -511,7 +511,7 @@ class LegacyServerLoginTest(BouncerTestCase): ) self.assertEqual(result.status_code, 200) self.assert_in_success_response( - ["We have sent a log in link", "link will expire in", email], + ["We have sent", "a log in", "link will expire in", email], result, ) diff --git a/templates/corporate/remote_billing_email_confirmation_sent.html b/templates/corporate/remote_billing_email_confirmation_sent.html index d4694496d4..6cf5db4e39 100644 --- a/templates/corporate/remote_billing_email_confirmation_sent.html +++ b/templates/corporate/remote_billing_email_confirmation_sent.html @@ -24,7 +24,7 @@
{% if remote_server_hostname %} -

We have sent a log in link for Zulip plan management to {{ email }}. This link will expire in 2 hours.

+

We have sent {{ email }} a log in link for Zulip plan management. This link will expire in 24 hours.

{% else %}

To finish logging in, check your email account ({{ email }}) for a confirmation email from Zulip.

{% endif %}