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.

billing: Show self-hosted help link for licenses.

Karl Stolleyd25c375be99e
diff --git a/templates/corporate/billing.html b/templates/corporate/billing.html
index 246155d6fe2..14784ea0f93 100644
--- a/templates/corporate/billing.html
+++ b/templates/corporate/billing.html
@@ -111,9 +111,16 @@
<div class="input-box billing-page-field no-validation">
<label for="automatic-license-count" class="inline-block label-title">
Number of licenses
+ {% if is_self_hosted_billing %}
+ <a href="https://zulip.com/help/self-hosted-billing#what-is-the-difference-between-automatic-and-manual-billing" target="_blank" rel="noopener noreferrer">
+ <i class="fa fa-question-circle-o" aria-hidden="true"></i>
+ </a>
+ {% else %}
<a href="/help/zulip-cloud-billing#what-is-the-difference-between-automatic-and-manual-billing" target="_blank" rel="noopener noreferrer">
<i class="fa fa-question-circle-o" aria-hidden="true"></i>
</a>
+ {% endif %}
+
</label>
<div id="automatic-license-count" class="not-editable-realm-field">
{{ licenses }} (managed automatically)
@@ -124,9 +131,15 @@
<div class="input-box billing-page-field no-validation input-box-number">
<label for="current-manual-license-count" class="inline-block label-title">
Number of licenses for current billing period
+ {% if is_self_hosted_billing %}
+ <a href="https://zulip.com/help/self-hosted-billing#what-is-the-difference-between-automatic-and-manual-billing" target="_blank" rel="noopener noreferrer">
+ <i class="fa fa-question-circle-o" aria-hidden="true"></i>
+ </a>
+ {% else %}
<a href="/help/zulip-cloud-billing#what-is-the-difference-between-automatic-and-manual-billing" 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="current-license-change-form">