Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
portico: Hide Cloud-plan buttons for self-hosters.
Karl Stolley8d76231ddafc
diff --git a/templates/corporate/pricing_model.html b/templates/corporate/pricing_model.htmlindex 433be81a665..6d21454750e 100644--- a/templates/corporate/pricing_model.html+++ b/templates/corporate/pricing_model.html@@ -1,4 +1,4 @@-<div id="plans-and-pricing" class="pricing-model">+<div id="plans-and-pricing" class="pricing-model {% if is_self_hosted_realm %}is-self-hosted-realm{% endif %}"><div class="padded-content">{% if is_self_hosted_realm %}<h1>Choose a plan</h1>diff --git a/web/styles/portico/pricing_plans.css b/web/styles/portico/pricing_plans.cssindex f961d797edd..3530832da77 100644--- a/web/styles/portico/pricing_plans.css+++ b/web/styles/portico/pricing_plans.css@@ -607,6 +607,14 @@}}+ .is-self-hosted-realm {+ /* Don't display buttons on cloud plans+ when viewed by self-hosters. */+ .cloud-plan-pricing .bottom .text-content {+ display: none;+ }+ }+@media screen and (width <= 940px) {h1 {font-size: 40px;