plans: Ask customer to contact sales to switch plan tier.

This commit is contained in:
Aman Agrawal 2024-01-07 04:49:20 +00:00 committed by Tim Abbott
parent ad093e851b
commit 398c889ce1
1 changed files with 8 additions and 0 deletions

View File

@ -246,6 +246,10 @@
Current plan
{% endif %}
</a>
{% elif is_self_hosted_realm and customer_plan and customer_plan.tier != customer_plan.TIER_SELF_HOSTED_LEGACY %}
<a href="mailto:sales@zulip.com" target="_blank" rel="noopener noreferrer" class="button upgrade-button">
Contact sales
</a>
{% elif is_self_hosted_realm %}
<a href="{{ billing_base_url }}/upgrade/?tier={{ tier_self_hosted_basic }}" class="button upgrade-button">
{% if free_trial_days %}
@ -331,6 +335,10 @@
Current plan
{% endif %}
</a>
{% elif is_self_hosted_realm and customer_plan and customer_plan.tier != customer_plan.TIER_SELF_HOSTED_LEGACY %}
<a href="mailto:sales@zulip.com" target="_blank" rel="noopener noreferrer" class="button upgrade-button">
Contact sales
</a>
{% elif is_self_hosted_realm %}
<a href="{{ billing_base_url }}/upgrade/?tier={{ tier_self_hosted_business }}" class="button upgrade-button">
{% if free_trial_days %}