portico: Hide Cloud-plan buttons for self-hosters.

This commit is contained in:
Karl Stolley
2023-12-07 17:59:23 -06:00
committed by Tim Abbott
parent 60a4300db9
commit 8d76231dda
2 changed files with 9 additions and 1 deletions

View File

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

View File

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