Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
billing: Minor changes.
Aman Agrawalf85bd0234a87
diff --git a/corporate/tests/test_stripe.py b/corporate/tests/test_stripe.pyindex 8867fc44194..177444e098f 100644--- a/corporate/tests/test_stripe.py+++ b/corporate/tests/test_stripe.py@@ -2558,9 +2558,7 @@ class StripeTest(StripeTestCase):for stripe_payment_method in stripe_payment_methods:stripe.PaymentMethod.detach(stripe_payment_method.id)response = self.client_get("/billing/")- self.assert_in_success_response(- ["payment method: <strong>No payment method on file"], response- )+ self.assert_in_success_response(["No payment method on file."], response)start_session_json_response = self.client_post("/json/billing/session/start_card_update_session"diff --git a/corporate/views/billing_page.py b/corporate/views/billing_page.pyindex 08402ca3191..0724f5cade4 100644--- a/corporate/views/billing_page.py+++ b/corporate/views/billing_page.py@@ -42,7 +42,7 @@ billing_logger = logging.getLogger("corporate.stripe")def payment_method_string(stripe_customer: stripe.Customer) -> str:default_payment_method = stripe_customer.invoice_settings.default_payment_methodif default_payment_method is None:- return _("No payment method on file")+ return _("No payment method on file.")if default_payment_method.type == "card":return _("{brand} ending in {last4}").format(diff --git a/templates/corporate/billing.html b/templates/corporate/billing.htmlindex e46d15126e7..adc7c1da480 100644--- a/templates/corporate/billing.html+++ b/templates/corporate/billing.html@@ -128,7 +128,7 @@Your next invoice is due on <strong>{{ renewal_date }}</strong>.{% endif %}<br />- Expected charge: <strong>${{ renewal_amount }}</strong>.+ Expected charge: <strong>${{ renewal_amount }}</strong>{% endif %}{% else %}Your plan ends on <strong>{{ renewal_date }}</strong>, and does not renew.@@ -288,7 +288,7 @@<div class="modal__container" role="dialog" aria-modal="true" aria-labelledby="dialog_title"><header class="modal__header"><h1 class="modal__title dialog_heading">- Downgrade {{ org_name }} to Zulip Cloud Free+ Downgrade {{ org_name }} to Zulip Cloud Free?</h1><button class="modal__close" aria-label="{{ _('Close modal') }}" data-micromodal-close></button></header>@@ -296,7 +296,7 @@<p>Your organization will be downgraded to Zulip Cloud Free at the end of the current billingperiod ({{ renewal_date }}). You will lose access to unlimited search history and- <a href="/plans">other features</a>+ <a href="/plans/">other features</a>of your current plan. Are you sure you want to continue?</p></main>