Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
templates: Deduplicate the pricing model.
Vishnu KS8729e658b758
diff --git a/templates/zerver/for-companies.html b/templates/zerver/for-companies.htmlindex 65ae990bb71..e543428820a 100644--- a/templates/zerver/for-companies.html+++ b/templates/zerver/for-companies.html@@ -508,177 +508,7 @@</div><div class="feature-pricing">- <div class="pricing-model">- <div class="padded-content">- <div class="pricing-container">- <div class="block">- <div class="plan-title responsive-title-black">- Zulip Cloud- </div>-- <div class="price-box" tabindex="-1">- <div class="text-content">- <h2>Free</h2>- <div class="description">- Best for light use.- </div>- <hr />- <ul class="feature-list">- <li>10,000 messages of search history</li>- <li>File storage up to 5 GB total</li>- <li><a href="/features">Full-featured</a> team chat service</li>- <li><a href="/integrations">Hundreds of integrations</a></li>- <li>Advanced <a href="/help/roles-and-permissions">roles</a> and <a href="/help/stream-permissions">permissions</a></li>- <li><a href="/help/roles-and-permissions">Guest accounts</a></li>- </ul>- </div>- <div class="bottom">- <div class="text-content">- {% if not realm or realm.plan_type == realm.SELF_HOSTED %}- <div class="pricing-details">- Free cloud service- </div>- <a href="/new/" class="button green">- Create organization- </a>- {% elif realm.plan_type == realm.LIMITED or sponsorship_pending %}- <div class="pricing-details"></div>- <a href='/upgrade' class="button black-current-value" type="button">- Current plan- </a>- {% endif %}- </div>- </div>- </div>-- <div class="price-box" tabindex="-1">- <div class="text-content">- <h2>Standard</h2>- <div class="description">- Your team's collaboration hub.- </div>- <hr />- <ul class="feature-list">- <li>Unlimited search history</li>- <li>File storage up to 10 GB per user</li>- <li><a href="/help/message-retention-policy">Message retention policies</a></li>- <li>Brand Zulip with your logo</li>- <li>Priority commercial support</li>- <li>Funds the Zulip open source project</li>- </ul>- </div>- <div class="bottom">- <div class="text-content">- <div class="standard-price-box">- <div class="price">6<span class="price-cents">.67</span></div>- <div class="details">- <span class="pricing-period">per user per month</span>- <br />- with annual billing discount- <br />- $8/month billed monthly- </div>- </div>- {% if not realm %}- <a href="/upgrade" class="button green">- {% if free_trial_days %}- Start {{ free_trial_days }} day free trial- {% else %}- Upgrade to Standard- {% endif %}- </a>- {% elif realm.plan_type in [realm.STANDARD, realm.STANDARD_FREE] %}- <a href='/billing' class="button black-current-value" type="button">- {% if realm_on_free_trial %}- Current plan (free trial)- {% else %}- Current plan- {% endif %}- </a>- {% elif sponsorship_pending %}- <a href="/billing" class="button black-current-value" type="button">- Sponsorship pending- </a>- {% else %}- <a href="/upgrade" class="button green">- {% if free_trial_days %}- Start {{ free_trial_days }} day free trial- {% else %}- Upgrade to Standard- {% endif %}- </a>- {% endif %}- </div>- </div>- </div>- </div>-- <div class="block">- <div class="plan-title responsive-title-black">- Self host Zulip- </div>-- <div class="price-box" tabindex="-1">- <div class="text-content">- <h2>Self service</h2>- <div class="description">- Retain full control over your data.- </div>- <hr />- <ul class="feature-list">- <li>All Zulip Cloud features included</li>- <li>Friendly community support</li>- <li><a href="https://zulip.readthedocs.io/en/stable/production/authentication-methods.html">SAML, OIDC, Google, social SSO</a></li>- <li><a href="https://zulip.readthedocs.io/en/stable/production/authentication-methods.html#synchronizing-data">LDAP/Active Directory sync</a></li>- <li>Advanced <a href="/help/roles-and-permissions">roles</a> and <a href="/help/stream-permissions">permissions</a></li>- <li>Easy <a href="https://zulip.readthedocs.io/en/stable/production/install.html">installation</a>- and <a href="https://zulip.readthedocs.io/en/stable/production/upgrade-or-modify.html">maintenance</a></li>- </ul>- </div>- <div class="bottom">- <div class="text-content">- <div class="pricing-details multi-line">- Zulip is 100% free and open- source, with no proprietary version. <br />- </div>- <a href="https://zulip.readthedocs.io/en/stable/production/install.html" class="button green">- Install a Zulip server- </a>- </div>- </div>- </div>-- <div class="price-box" tabindex="-1">- <div class="text-content">- <h2>Enterprise</h2>- <div class="description">- For mission-critical installations.- </div>- <hr />- <ul class="feature-list">- <li>All self service features included</li>- <li>Professional support with SLAs</li>- <li>High availability</li>- <li>Incident collaboration</li>- <li>Advanced compliance</li>- <li>Funds the Zulip open source project</li>- </ul>- </div>- <div class="bottom">- <div class="text-content">- <div class="pricing-details multi-line">- Affordable pricing depends on support required.- </div>- <a href="mailto:[email protected]" target="_blank" rel="noopener noreferrer" class="no-action button green">- Contact sales- </a>- </div>- </div>- </div>- </div>- </div>- </div>- </div>+ {% include "zerver/pricing_model.html" %}</div></div></div>diff --git a/templates/zerver/plans.html b/templates/zerver/plans.htmlindex 6f21a4fabb0..017e2ff0dae 100644--- a/templates/zerver/plans.html+++ b/templates/zerver/plans.html@@ -12,179 +12,7 @@<div class="portico-landing plans"><div class="main">- <div class="pricing-model">- <div class="padded-content">- <h1>Get started today.</h1>-- <div class="pricing-container">- <div class="block">- <div class="plan-title responsive-title">- Zulip Cloud- </div>-- <div class="price-box" tabindex="-1">- <div class="text-content">- <h2>Free</h2>- <div class="description">- Best for light use.- </div>- <hr />- <ul class="feature-list">- <li>10,000 messages of search history</li>- <li>File storage up to 5 GB total</li>- <li><a href="/features">Full-featured</a> team chat service</li>- <li><a href="/integrations">Hundreds of integrations</a></li>- <li>Advanced <a href="/help/roles-and-permissions">roles</a> and <a href="/help/stream-permissions">permissions</a></li>- <li><a href="/help/roles-and-permissions">Guest accounts</a></li>- </ul>- </div>- <div class="bottom">- <div class="text-content">- {% if not realm or realm.plan_type == realm.SELF_HOSTED %}- <div class="pricing-details">- Free cloud service- </div>- <a href="/new/" class="button green">- Create organization- </a>- {% elif realm.plan_type == realm.LIMITED or sponsorship_pending %}- <div class="pricing-details"></div>- <a href='/upgrade' class="button black-current-value" type="button">- Current plan- </a>- {% endif %}- </div>- </div>- </div>-- <div class="price-box" tabindex="-1">- <div class="text-content">- <h2>Standard</h2>- <div class="description">- Your team's collaboration hub.- </div>- <hr />- <ul class="feature-list">- <li>Unlimited search history</li>- <li>File storage up to 10 GB per user</li>- <li><a href="/help/message-retention-policy">Message retention policies</a></li>- <li>Brand Zulip with your logo</li>- <li>Priority commercial support</li>- <li>Funds the Zulip open source project</li>- </ul>- </div>- <div class="bottom">- <div class="text-content">- <div class="standard-price-box">- <div class="price">6<span class="price-cents">.67</span></div>- <div class="details">- <span class="pricing-period">per user per month</span>- <br />- with annual billing discount- <br />- $8/month billed monthly- </div>- </div>- {% if not realm %}- <a href="/upgrade" class="button green">- {% if free_trial_days %}- Start {{ free_trial_days }} day free trial- {% else %}- Upgrade to Standard- {% endif %}- </a>- {% elif realm.plan_type in [realm.STANDARD, realm.STANDARD_FREE] %}- <a href='/billing' class="button black-current-value" type="button">- {% if realm_on_free_trial %}- Current plan (free trial)- {% else %}- Current plan- {% endif %}- </a>- {% elif sponsorship_pending %}- <a href="/billing" class="button black-current-value" type="button">- Sponsorship pending- </a>- {% else %}- <a href="/upgrade" class="button green">- {% if free_trial_days %}- Start {{ free_trial_days }} day free trial- {% else %}- Upgrade to Standard- {% endif %}- </a>- {% endif %}- </div>- </div>- </div>- </div>-- <div class="block">- <div class="plan-title responsive-title">- Self host Zulip- </div>-- <div class="price-box" tabindex="-1">- <div class="text-content">- <h2>Self service</h2>- <div class="description">- Retain full control over your data.- </div>- <hr />- <ul class="feature-list">- <li>All Zulip Cloud features included</li>- <li>Friendly community support</li>- <li><a href="https://zulip.readthedocs.io/en/stable/production/authentication-methods.html">SAML, OIDC, Google, social SSO</a></li>- <li><a href="https://zulip.readthedocs.io/en/stable/production/authentication-methods.html#synchronizing-data">LDAP/Active Directory sync</a></li>- <li>Advanced <a href="/help/roles-and-permissions">roles</a> and <a href="/help/stream-permissions">permissions</a></li>- <li>Easy <a href="https://zulip.readthedocs.io/en/stable/production/install.html">installation</a>- and <a href="https://zulip.readthedocs.io/en/stable/production/upgrade-or-modify.html">maintenance</a></li>- </ul>- </div>- <div class="bottom">- <div class="text-content">- <div class="pricing-details multi-line">- Zulip is 100% free and open- source, with no proprietary version. <br />- </div>- <a href="https://zulip.readthedocs.io/en/stable/production/install.html" class="button green">- Install a Zulip server- </a>- </div>- </div>- </div>-- <div class="price-box" tabindex="-1">- <div class="text-content">- <h2>Enterprise</h2>- <div class="description">- For mission-critical installations.- </div>- <hr />- <ul class="feature-list">- <li>All self service features included</li>- <li>Professional support with SLAs</li>- <li>High availability</li>- <li>Incident collaboration</li>- <li>Advanced compliance</li>- <li>Funds the Zulip open source project</li>- </ul>- </div>- <div class="bottom">- <div class="text-content">- <div class="pricing-details multi-line">- Affordable pricing depends on support required.- </div>- <a href="mailto:[email protected]" target="_blank" rel="noopener noreferrer" class="no-action button green">- Contact sales- </a>- </div>- </div>- </div>- </div>- </div>- </div>- </div>+ {% include "zerver/pricing_model.html" %}</div><div class="discounts-section">diff --git a/templates/zerver/pricing_model.html b/templates/zerver/pricing_model.htmlnew file mode 100644index 00000000000..6ebfe415382--- /dev/null+++ b/templates/zerver/pricing_model.html@@ -0,0 +1,173 @@+<div class="pricing-model">+ <div class="padded-content">+ <h1>Get started today.</h1>++ <div class="pricing-container">+ <div class="block">+ <div class="plan-title responsive-title">+ Zulip Cloud+ </div>++ <div class="price-box" tabindex="-1">+ <div class="text-content">+ <h2>Free</h2>+ <div class="description">+ Best for light use.+ </div>+ <hr />+ <ul class="feature-list">+ <li>10,000 messages of search history</li>+ <li>File storage up to 5 GB total</li>+ <li><a href="/features">Full-featured</a> team chat service</li>+ <li><a href="/integrations">Hundreds of integrations</a></li>+ <li>Advanced <a href="/help/roles-and-permissions">roles</a> and <a href="/help/stream-permissions">permissions</a></li>+ <li><a href="/help/roles-and-permissions">Guest accounts</a></li>+ </ul>+ </div>+ <div class="bottom">+ <div class="text-content">+ {% if not realm or realm.plan_type == realm.SELF_HOSTED %}+ <div class="pricing-details">+ Free cloud service+ </div>+ <a href="/new/" class="button green">+ Create organization+ </a>+ {% elif realm.plan_type == realm.LIMITED or sponsorship_pending %}+ <div class="pricing-details"></div>+ <a href='/upgrade' class="button black-current-value" type="button">+ Current plan+ </a>+ {% endif %}+ </div>+ </div>+ </div>++ <div class="price-box" tabindex="-1">+ <div class="text-content">+ <h2>Standard</h2>+ <div class="description">+ Your team's collaboration hub.+ </div>+ <hr />+ <ul class="feature-list">+ <li>Unlimited search history</li>+ <li>File storage up to 10 GB per user</li>+ <li><a href="/help/message-retention-policy">Message retention policies</a></li>+ <li>Brand Zulip with your logo</li>+ <li>Priority commercial support</li>+ <li>Funds the Zulip open source project</li>+ </ul>+ </div>+ <div class="bottom">+ <div class="text-content">+ <div class="standard-price-box">+ <div class="price">6<span class="price-cents">.67</span></div>+ <div class="details">+ <span class="pricing-period">per user per month</span>+ <br />+ with annual billing discount+ <br />+ $8/month billed monthly+ </div>+ </div>+ {% if not realm %}+ <a href="/upgrade" class="button green">+ {% if free_trial_days %}+ Start {{ free_trial_days }} day free trial+ {% else %}+ Upgrade to Standard+ {% endif %}+ </a>+ {% elif realm.plan_type in [realm.STANDARD, realm.STANDARD_FREE] %}+ <a href='/billing' class="button black-current-value" type="button">+ {% if realm_on_free_trial %}+ Current plan (free trial)+ {% else %}+ Current plan+ {% endif %}+ </a>+ {% elif sponsorship_pending %}+ <a href="/billing" class="button black-current-value" type="button">+ Sponsorship pending+ </a>+ {% else %}+ <a href="/upgrade" class="button green">+ {% if free_trial_days %}+ Start {{ free_trial_days }} day free trial+ {% else %}+ Upgrade to Standard+ {% endif %}+ </a>+ {% endif %}+ </div>+ </div>+ </div>+ </div>++ <div class="block">+ <div class="plan-title responsive-title">+ Self host Zulip+ </div>++ <div class="price-box" tabindex="-1">+ <div class="text-content">+ <h2>Self service</h2>+ <div class="description">+ Retain full control over your data.+ </div>+ <hr />+ <ul class="feature-list">+ <li>All Zulip Cloud features included</li>+ <li>Friendly community support</li>+ <li><a href="https://zulip.readthedocs.io/en/stable/production/authentication-methods.html">SAML, OIDC, Google, social SSO</a></li>+ <li><a href="https://zulip.readthedocs.io/en/stable/production/authentication-methods.html#synchronizing-data">LDAP/Active Directory sync</a></li>+ <li>Advanced <a href="/help/roles-and-permissions">roles</a> and <a href="/help/stream-permissions">permissions</a></li>+ <li>Easy <a href="https://zulip.readthedocs.io/en/stable/production/install.html">installation</a>+ and <a href="https://zulip.readthedocs.io/en/stable/production/upgrade-or-modify.html">maintenance</a></li>+ </ul>+ </div>+ <div class="bottom">+ <div class="text-content">+ <div class="pricing-details multi-line">+ Zulip is 100% free and open+ source, with no proprietary version. <br />+ </div>+ <a href="https://zulip.readthedocs.io/en/stable/production/install.html" class="button green">+ Install a Zulip server+ </a>+ </div>+ </div>+ </div>++ <div class="price-box" tabindex="-1">+ <div class="text-content">+ <h2>Enterprise</h2>+ <div class="description">+ For mission-critical installations.+ </div>+ <hr />+ <ul class="feature-list">+ <li>All self service features included</li>+ <li>Professional support with SLAs</li>+ <li>High availability</li>+ <li>Incident collaboration</li>+ <li>Advanced compliance</li>+ <li>Funds the Zulip open source project</li>+ </ul>+ </div>+ <div class="bottom">+ <div class="text-content">+ <div class="pricing-details multi-line">+ Affordable pricing depends on support required.+ </div>+ <a href="mailto:[email protected]" target="_blank" rel="noopener noreferrer" class="no-action button green">+ Contact sales+ </a>+ </div>+ </div>+ </div>+ </div>+ </div>+ </div>+</div>