billing: Minor changes to text for free trial.

Fixes #27685
This commit is contained in:
Aman Agrawal 2023-11-22 10:42:03 +00:00 committed by Tim Abbott
parent f75b4f65c1
commit 2218c49244
2 changed files with 6 additions and 10 deletions

View File

@ -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",

View File

@ -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 billing
period (<strong>{{ renewal_date }}</strong>). You will lose access to unlimited search history and
<a href="/plans/">other features</a> of your current plan.