Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

billing: Move next payment info below card details.

Aman Agrawal3adddaa64303
diff --git a/templates/corporate/billing.html b/templates/corporate/billing.html
index eedfcc71e95..3d1dbd62e30 100644
--- a/templates/corporate/billing.html
+++ b/templates/corporate/billing.html
@@ -82,28 +82,6 @@
</div>
{% endif %}
</div>
- <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 %}
- Your plan will be downgraded to <strong>Zulip Free</strong> on <strong>{{ renewal_date }}</strong>.
- {% elif switch_to_annual_at_end_of_cycle %}
- Your plan will be switched from monthly to annual billing on <strong>{{ renewal_date }}</strong>.
- {% else %}
- {% if charge_automatically %}
- Your plan will automatically renew on <strong>{{ renewal_date }}</strong>.
- {% else %}
- Your next invoice is due on <strong>{{ renewal_date }}</strong>.
- {% endif %}
- <br />
- Expected charge: <strong>${{ renewal_amount }}</strong>.
- {% endif %}
- {% else %}
- Your plan ends on <strong>{{ renewal_date }}</strong>, and does not renew.
- {% endif %}
- </div>
</div>
<div id="payment-method">
<div id="cardchange-error" class="alert alert-danger"></div>
@@ -125,6 +103,28 @@
Redirecting to Stripe checkout page for updating Card details.
</div>
</div>
+ <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 %}
+ Your plan will be downgraded to <strong>Zulip Free</strong> on <strong>{{ renewal_date }}</strong>.
+ {% elif switch_to_annual_at_end_of_cycle %}
+ Your plan will be switched from monthly to annual billing on <strong>{{ renewal_date }}</strong>.
+ {% else %}
+ {% if charge_automatically %}
+ Your plan will automatically renew on <strong>{{ renewal_date }}</strong>.
+ {% else %}
+ Your next invoice is due on <strong>{{ renewal_date }}</strong>.
+ {% endif %}
+ <br />
+ Expected charge: <strong>${{ renewal_amount }}</strong>.
+ {% endif %}
+ {% else %}
+ Your plan ends on <strong>{{ renewal_date }}</strong>, and does not renew.
+ {% endif %}
+ </div>
<div id="settings">
<div id="planchange-error" class="alert alert-danger"></div>