Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
plans: Filter table based on active plans tab.
Karl Stolley7d2adda31c36
diff --git a/templates/corporate/comparison_table_integrated.html b/templates/corporate/comparison_table_integrated.htmlindex fe4e96947c6..2c842b54a23 100644--- a/templates/corporate/comparison_table_integrated.html+++ b/templates/corporate/comparison_table_integrated.html@@ -25,7 +25,7 @@<th class="comparison-table-feature">Features</th><th class="cloud-cell">Free</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">Basic</th>diff --git a/web/styles/portico/comparison_table.css b/web/styles/portico/comparison_table.cssindex b65450842f9..4bc88f1c371 100644--- a/web/styles/portico/comparison_table.css+++ b/web/styles/portico/comparison_table.css@@ -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;+ }+}