portico: Disable self-hosted tab for logged-in cloud users.

This commit is contained in:
Karl Stolley 2023-12-12 10:07:55 -06:00 committed by Tim Abbott
parent b0b6716892
commit 857630707a
1 changed files with 9 additions and 0 deletions

View File

@ -149,12 +149,21 @@
</div>
</div>
{% if user_is_authenticated and not is_self_hosted_realm %}
<div class="self-hosted-plan-title inactive-pricing-tab">
<h2>Self-hosted</h2>
<p>
<a href="https://zulip.com/plans/#self-hosted">View self-hosted plans and pricing</a>.
</p>
</div>
{% else %}
<div id="self-hosted" class="self-hosted-plan-title pricing-tab">
<h2>Self-hosted</h2>
<p>
Retain full control over your data.<br />100% open-source software.
</p>
</div>
{% endif %}
<div class="pricing-pane-scroll-container self-hosted-scroll">
<div class="self-hosted-plan-pricing pricing-pane">