mirror of
				https://github.com/zulip/zulip.git
				synced 2025-10-31 20:13:46 +00:00 
			
		
		
		
	portico: Hide Cloud-plan buttons for self-hosters.
This commit is contained in:
		| @@ -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> | ||||
|   | ||||
| @@ -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; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user