mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	plans: Filter table based on active plans tab.
This commit is contained in:
		@@ -25,7 +25,7 @@
 | 
				
			|||||||
                <th class="comparison-table-feature">Features</th>
 | 
					                <th class="comparison-table-feature">Features</th>
 | 
				
			||||||
                <th class="cloud-cell">Free</th>
 | 
					                <th class="cloud-cell">Free</th>
 | 
				
			||||||
                <th class="cloud-cell">Stan<wbr />dard</th>
 | 
					                <th class="cloud-cell">Stan<wbr />dard</th>
 | 
				
			||||||
                <th class="cloud-cell">Plus</th>
 | 
					                <th class="cloud-cell last-cloud-th">Plus</th>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
                <th class="self-hosted-cell">Free</th>
 | 
					                <th class="self-hosted-cell">Free</th>
 | 
				
			||||||
                <th class="self-hosted-cell">Basic</th>
 | 
					                <th class="self-hosted-cell">Basic</th>
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -353,3 +353,23 @@
 | 
				
			|||||||
        }
 | 
					        }
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					/* Change comparison-table visibility on /plans
 | 
				
			||||||
 | 
					   based on active plan tab. */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					.showing-cloud {
 | 
				
			||||||
 | 
					    #self-hosted-plan-comparison,
 | 
				
			||||||
 | 
					    #all-plan-comparison,
 | 
				
			||||||
 | 
					    .self-hosted-feature-only,
 | 
				
			||||||
 | 
					    .self-hosted-cell {
 | 
				
			||||||
 | 
					        display: none;
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					.showing-self-hosted {
 | 
				
			||||||
 | 
					    #cloud-plan-comparison,
 | 
				
			||||||
 | 
					    #all-plan-comparison,
 | 
				
			||||||
 | 
					    .cloud-cell {
 | 
				
			||||||
 | 
					        display: none;
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user