Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

self-hosting: Link free tier CTA button to server installation page.

Aman Agrawalaf09f32b48c3
diff --git a/templates/corporate/pricing_model.html b/templates/corporate/pricing_model.html
index b1d1bdb5c7c..fa1469cd617 100644
--- a/templates/corporate/pricing_model.html
+++ b/templates/corporate/pricing_model.html
@@ -180,9 +180,15 @@
Unlimited push notifications<br />until {{ customer_plan.end_date.strftime('%d %B, %Y') }}
</span>
{% elif not is_self_hosted_realm %}
+ {% if rendering_page == 'self_hosting' %}
+ <a href="https://zulip.readthedocs.io/en/stable/production/install.html" class="button get-started-button">
+ Install a Zulip server
+ </a>
+ {% else %}
<a href="/self-hosting/" class="button get-started-button">
Self-host Zulip
</a>
+ {% endif %}
{% else %}
<div class="button-placeholder"></div>
{% endif %}
diff --git a/templates/corporate/self-hosting.html b/templates/corporate/self-hosting.html
index fdd200bff2d..84775d4cfd2 100644
--- a/templates/corporate/self-hosting.html
+++ b/templates/corporate/self-hosting.html
@@ -280,7 +280,10 @@
</div>
<div class="portico-pricing showing-self-hosted">
+ {% with %}
+ {% set rendering_page="self_hosting" %}
{% include "corporate/pricing_model.html" %}
+ {% endwith %}
</div>
</div>