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.

plans: Remove erroneous duplicate standard-price-box structure.

Karl Stolleyaae31bd062fa
diff --git a/templates/corporate/pricing_model.html b/templates/corporate/pricing_model.html
index 48dd0700fe2..5f1dc88face 100644
--- a/templates/corporate/pricing_model.html
+++ b/templates/corporate/pricing_model.html
@@ -287,30 +287,28 @@
<div class="bottom">
<div class="text-content">
<div class="standard-price-box">
- <div class="standard-price-box">
- {% if (is_legacy_server_with_scheduled_upgrade and legacy_server_new_plan.tier == legacy_server_new_plan.TIER_SELF_HOSTED_BUSINESS)
- or (is_self_hosted_realm and sponsorship_pending and requested_sponsorship_plan == "Business")
- or (is_self_hosted_realm and customer_plan and customer_plan.tier != customer_plan.TIER_SELF_HOSTED_LEGACY)%}
- <div class="price no-discount"><span class="currency-symbol">$</span>6.67</div>
- <div class="details">
- <p>
- /user/month billed annually
- or&nbsp;<b>$8</b>&nbsp;billed monthly
- </p>
- </div>
- {% else %}
- <div class="price"><span class="currency-symbol">$</span>6.67</div>
- <div class="details">
- <p>
- /user/month billed annually
- or&nbsp;<b>$8</b>&nbsp;billed monthly
- </p>
- </div>
- <div class="discount">
- <b>$20/month off</b> for the first year!
- </div>
- {% endif %}
+ {% if (is_legacy_server_with_scheduled_upgrade and legacy_server_new_plan.tier == legacy_server_new_plan.TIER_SELF_HOSTED_BUSINESS)
+ or (is_self_hosted_realm and sponsorship_pending and requested_sponsorship_plan == "Business")
+ or (is_self_hosted_realm and customer_plan and customer_plan.tier != customer_plan.TIER_SELF_HOSTED_LEGACY)%}
+ <div class="price no-discount"><span class="currency-symbol">$</span>6.67</div>
+ <div class="details">
+ <p>
+ /user/month billed annually
+ or&nbsp;<b>$8</b>&nbsp;billed monthly
+ </p>
+ </div>
+ {% else %}
+ <div class="price"><span class="currency-symbol">$</span>6.67</div>
+ <div class="details">
+ <p>
+ /user/month billed annually
+ or&nbsp;<b>$8</b>&nbsp;billed monthly
+ </p>
</div>
+ <div class="discount">
+ <b>$20/month off</b> for the first year!
+ </div>
+ {% endif %}
</div>
{% if is_legacy_server_with_scheduled_upgrade and legacy_server_new_plan.tier == legacy_server_new_plan.TIER_SELF_HOSTED_BUSINESS %}
<a href="{{ billing_base_url }}/billing/" class="button current-plan-button">