pricing_model: Show `Contact sales` to already upgraded customers.

Customers who are already on a paid / sponsored plan will see
"Contact sales" on other paid plans.
This commit is contained in:
Aman Agrawal 2024-10-17 11:13:21 +00:00 committed by Tim Abbott
parent c4f5cd6552
commit b93b05eddd
1 changed files with 8 additions and 0 deletions

View File

@ -107,6 +107,10 @@
<a href="/billing/" class="button current-plan-button" type="button">
Sponsorship requested
</a>
{% elif customer_plan and customer_plan.tier != customer_plan.TIER_CLOUD_STANDARD %}
<a href="mailto:sales@zulip.com" target="_blank" rel="noopener noreferrer" class="button upgrade-button">
Contact sales
</a>
{% else %}
<a href="/upgrade/?tier={{ tier_cloud_standard }}" class="button upgrade-button">
{% if free_trial_days %}
@ -148,6 +152,10 @@
<i class="icon current-plan-icon"></i>
Current plan
</a>
{% elif customer_plan and customer_plan.tier != customer_plan.TIER_CLOUD_PLUS %}
<a href="mailto:sales@zulip.com" target="_blank" rel="noopener noreferrer" class="button upgrade-button">
Contact sales
</a>
{% else %}
<a href="/upgrade/?tier={{ tier_cloud_plus }}" class="button upgrade-button">
Upgrade to Plus