Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
billing: Minor changes to text for free trial.
Aman Agrawal2218c4924475
diff --git a/corporate/tests/test_stripe.py b/corporate/tests/test_stripe.pyindex 3b302206ee9..590d3bc9401 100644--- a/corporate/tests/test_stripe.py+++ b/corporate/tests/test_stripe.py@@ -1127,12 +1127,11 @@ class StripeTest(StripeTestCase):response = self.client_get("/billing/")self.assert_not_in_success_response(["Pay annually"], response)for substring in [- "Zulip Cloud Standard",- "Free Trial",+ "Zulip Cloud Standard <i>(free trial)</i>",str(self.seat_count),"Number of licenses",f"{self.seat_count} (managed automatically)",- "Your plan will be upgraded to",+ "Your plan will automatically renew on","March 2, 2012",f"${80 * self.seat_count}.00","Visa ending in 4242",@@ -1387,11 +1386,11 @@ class StripeTest(StripeTestCase):response = self.client_get("/billing/")self.assert_not_in_success_response(["Pay annually"], response)for substring in [- "Zulip Cloud Standard Free Trial",+ "Zulip Cloud Standard <i>(free trial)</i>",str(self.seat_count),"Number of licenses for current billing period",f"{self.seat_count} in use",- "Your plan will be upgraded to",+ "Your next invoice is due on","March 2, 2012",f"{80 * 123:,.2f}","Billed by invoice",diff --git a/templates/corporate/billing.html b/templates/corporate/billing.htmlindex 7f18c114cf9..340ad81d027 100644--- a/templates/corporate/billing.html+++ b/templates/corporate/billing.html@@ -23,7 +23,7 @@<label for="org-current-plan" class="inline-block label-title">Your plan</label><div id="org-current-plan" class="not-editable-realm-field">{% if free_trial %}- {{ plan_name }} Free Trial+ {{ plan_name }} <i>(free trial)</i>{% else %}{{ plan_name }}{% endif %}@@ -143,10 +143,7 @@<div class="input-box billing-page-field no-validation"><div class="next-payment-info not-editable-realm-field">{% if renewal_amount %}- {% if free_trial %}- Your plan will be upgraded to <strong>{{ plan_name }}</strong> on <strong>{{ renewal_date }}</strong> for- <strong>${{ renewal_amount }}</strong>.- {% elif downgrade_at_end_of_cycle %}+ {% if downgrade_at_end_of_cycle %}Your organization will be downgraded to <strong>Zulip Cloud Free</strong> at the end of the current billingperiod (<strong>{{ renewal_date }}</strong>). You will lose access to unlimited search history and<a href="/plans/">other features</a> of your current plan.