billing: Update help center links for Cloud or self-hosted.

Updates the links about license management to the help center on
the billing and upgrade pages to go to the section about the type
of license management, and to go to either the Zulip Cloud billing
article or the self-hosted billing article.
This commit is contained in:
Lauryn Menard 2024-05-29 17:19:42 +02:00 committed by Tim Abbott
parent 2f4bdddd53
commit 448b574c65
2 changed files with 23 additions and 3 deletions

View File

@ -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">

View File

@ -207,7 +207,11 @@
<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 %}
@ -215,8 +219,18 @@
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.
{% 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>