From a75afe14620f97e14882ae362258c4cbbdba69e6 Mon Sep 17 00:00:00 2001 From: Aman Agrawal Date: Wed, 8 Nov 2023 08:50:11 +0000 Subject: [PATCH] bililng: Style similar to sponsorship page. --- templates/corporate/billing.html | 402 +++++++++++++------------- web/styles/portico/billing.css | 4 + web/styles/portico/portico_signin.css | 2 +- web/webpack.assets.json | 4 - 4 files changed, 199 insertions(+), 213 deletions(-) diff --git a/templates/corporate/billing.html b/templates/corporate/billing.html index b86830d36e..5c217805bd 100644 --- a/templates/corporate/billing.html +++ b/templates/corporate/billing.html @@ -6,224 +6,212 @@ {% endblock %} {% block portico_content %} - -
-
-
-
-
-

Zulip Cloud billing for {{ org_name }}

- {% if admin_access and has_active_plan %} - -
-
-
- -
- {% if free_trial %} - {{ plan_name }} Free Trial - {% else %} - {{ plan_name }} - {% endif %} -
-
-
- -
- {{ billing_frequency }} - {% if switch_to_annual_at_end_of_cycle %} -
- Your plan will switch to annual billing on {{ renewal_date }}. - {% endif %} -
-
-
- {% if automanage_licenses %} - -
- {{ licenses }} (managed automatically) -
- {% else %} -
- -
- -
- {%if not downgrade_at_end_of_cycle %} - - licenses ({{ seat_count }} in use) -
- -
-
- -
- {% endif %} -
- Plan updated. The page will now reload. -
- {% endif %} -
-
-
-
-
- -
- {{ payment_method }} -
- {% if charge_automatically %} -
- -
- {% endif %} -
-
- Redirecting to Stripe checkout page for updating Card details. -
-
-
- {% if renewal_amount %} - {% if free_trial %} - Your plan will be upgraded to {{ plan_name }} on {{ renewal_date }} for - ${{ renewal_amount }}. - {% elif downgrade_at_end_of_cycle %} - Your plan will be downgraded to Zulip Free on {{ renewal_date }}. - {% elif switch_to_annual_at_end_of_cycle %} - Your organization will be downgraded to Zulip Cloud Free at the end of the current billing - period ({{ renewal_date }}). You will lose access to unlimited search history and - other features of your current plan. - {% else %} - {% if charge_automatically %} - Your plan will automatically renew on {{ renewal_date }}. - {% else %} - Your next invoice is due on {{ renewal_date }}. - {% endif %} -
- Expected charge: ${{ renewal_amount }}. - {% endif %} +