Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
billing: Update help center links for Cloud or self-hosted.
Lauryn Menard448b574c654c
diff --git a/templates/corporate/billing/billing.html b/templates/corporate/billing/billing.htmlindex 8940f25b11d..a8eccd95ffe 100644--- a/templates/corporate/billing/billing.html+++ b/templates/corporate/billing/billing.html@@ -158,9 +158,15 @@<div class="input-box billing-page-field no-validation input-box-number"><label for="next-manual-license-count" class="inline-block label-title">Number of licenses for next billing period+ {% if is_self_hosted_billing %}+ <a href="https://zulip.com/help/self-hosted-billing#how-does-manual-billing-work" target="_blank" rel="noopener noreferrer">+ <i class="fa fa-question-circle-o" aria-hidden="true"></i>+ </a>+ {% else %}<a href="/help/zulip-cloud-billing#how-does-manual-billing-work" target="_blank" rel="noopener noreferrer"><i class="fa fa-question-circle-o" aria-hidden="true"></i></a>+ {% endif %}</label><div class="number-input-with-label"><form id="next-license-change-form">diff --git a/templates/corporate/billing/upgrade.html b/templates/corporate/billing/upgrade.htmlindex 54d3ba02e79..9b0e40535e4 100644--- a/templates/corporate/billing/upgrade.html+++ b/templates/corporate/billing/upgrade.html@@ -207,16 +207,30 @@<p class="not-editable-realm-field">Your subscription will renew automatically. Your bill will vary based on the number of active users in your organization.You can also <a href="{{ page_params.billing_base_url }}/upgrade/?manual_license_management=true&tier={{ page_params.tier }}">purchase a fixed number of licenses</a> instead.- See <a target="_blank" href="https://zulip.com/help/zulip-cloud-billing">here</a> for details.+ {% if is_self_hosting_management_page %}+ See <a href="https://zulip.com/help/self-hosted-billing#how-does-manual-billing-work" target="_blank" rel="noopener noreferrer">here</a> for details.+ {% else %}+ See <a href="/help/zulip-cloud-billing#how-does-manual-billing-work" target="_blank" rel="noopener noreferrer">here</a> for details.+ {% endif %}</p><input type="hidden" name="licenses" id="automatic_license_count" value="{{ seat_count }}" />{% else %}<p class="not-editable-realm-field">Your subscription will renew automatically. You will be able to manage the number of licenses on your organization's billing page.{% if not page_params.setup_payment_by_invoice %}- You can also <a href="{{ page_params.billing_base_url }}/upgrade/?tier={{ page_params.tier }}">choose automatic license management</a> instead.+ You can also <a href="{{ page_params.billing_base_url }}/upgrade/?tier={{ page_params.tier }}">choose automatic license management</a> instead.+ {% if is_self_hosting_management_page %}+ See <a href="https://zulip.com/help/self-hosted-billing#how-does-automatic-billing-work" target="_blank" rel="noopener noreferrer">here</a> for details.+ {% else %}+ See <a href="/help/zulip-cloud-billing#how-does-automatic-billing-work" target="_blank" rel="noopener noreferrer">here</a> for details.+ {% endif %}+ {% else %}+ {% if is_self_hosting_management_page %}+ See <a href="https://zulip.com/help/self-hosted-billing#how-does-manual-billing-work" target="_blank" rel="noopener noreferrer">here</a> for details.+ {% else %}+ See <a href="/help/zulip-cloud-billing#how-does-manual-billing-work" target="_blank" rel="noopener noreferrer">here</a> for details.+ {% endif %}{% endif %}- See <a href="https://zulip.com/help/zulip-cloud-billing">here</a> for details.</p>{% endif %}</div>