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 automatic license count in new style.

Aman Agrawal3ad2cb8c9c73
diff --git a/templates/corporate/billing.html b/templates/corporate/billing.html
index 8f7204fdb6c..ce900b6b83d 100644
--- a/templates/corporate/billing.html
+++ b/templates/corporate/billing.html
@@ -33,16 +33,22 @@
{{ billing_frequency }}
</div>
</div>
- <p>
- You are using <strong>{{ seat_count }} of {{ licenses }} licenses</strong>.
+ <div class="input-box billing-page-field no-validation">
{% if automanage_licenses %}
- Licenses are automatically managed by Zulip; when you add or deactivate a user, the number of
- licenses will be immediately updated to reflect your new usage.
+ <label for="automatic-license-count" class="inline-block label-title">
+ Number of licenses
+ <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>
+ </label>
+ <div id="automatic-license-count" class="not-editable-realm-field">
+ {{ licenses }} (managed automatically)
+ </div>
{% else %}
Licenses are manually managed. You will not be able to add new users to your organization once
you are using all of your licenses.
{% endif %}
- </p>
+ </div>
<p>
{% if renewal_amount %}
{% if free_trial %}