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

This commit is contained in:
Karl Stolley 2024-01-24 14:36:18 -06:00 committed by Tim Abbott
parent a3aa3ab3e4
commit aae31bd062
1 changed files with 21 additions and 23 deletions

View File

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