mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 14:03:30 +00:00
billing: Remove mix option from frontend.
This commit is contained in:
@@ -73,11 +73,9 @@ exports.update_charged_amount = function (prices, schedule) {
|
|||||||
exports.show_license_section = function (license) {
|
exports.show_license_section = function (license) {
|
||||||
$("#license-automatic-section").hide();
|
$("#license-automatic-section").hide();
|
||||||
$("#license-manual-section").hide();
|
$("#license-manual-section").hide();
|
||||||
$("#license-mix-section").hide();
|
|
||||||
|
|
||||||
$("#automatic_license_count").prop('disabled', true);
|
$("#automatic_license_count").prop('disabled', true);
|
||||||
$("#manual_license_count").prop('disabled', true);
|
$("#manual_license_count").prop('disabled', true);
|
||||||
$("#mix_license_count").prop('disabled', true);
|
|
||||||
|
|
||||||
var section_id = "#license-" + license + "-section";
|
var section_id = "#license-" + license + "-section";
|
||||||
$(section_id).show();
|
$(section_id).show();
|
||||||
|
|||||||
@@ -88,12 +88,6 @@
|
|||||||
<div class="management-type">{{ _("Manual") }}</div>
|
<div class="management-type">{{ _("Manual") }}</div>
|
||||||
</div>
|
</div>
|
||||||
</label>
|
</label>
|
||||||
<label>
|
|
||||||
<input type="radio" name="license_management" value="mix" />
|
|
||||||
<div class="box">
|
|
||||||
<div class="management-type">{{ _("Mix") }}</div>
|
|
||||||
</div>
|
|
||||||
</label>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="license-automatic-section">
|
<div id="license-automatic-section">
|
||||||
@@ -119,17 +113,6 @@
|
|||||||
<input type="number" name="licenses" min="{{ seat_count }}" autocomplete="off" id="manual_license_count" required/><br>
|
<input type="number" name="licenses" min="{{ seat_count }}" autocomplete="off" id="manual_license_count" required/><br>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="license-mix-section">
|
|
||||||
<p>
|
|
||||||
Enter the number of users you would like to pay for.<br>
|
|
||||||
We'll automatically charge you for additional licenses as users are
|
|
||||||
added, and remove licenses not in use at the end of each billing
|
|
||||||
period.
|
|
||||||
</p>
|
|
||||||
<h4>Number of licenses (minimum {{ seat_count }})</h4>
|
|
||||||
<input type="number" name="licenses" min="{{ seat_count }}"autocomplete="off" id="mix_license_count" required/><br>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<button id="add-card-button" class="stripe-button-el">
|
<button id="add-card-button" class="stripe-button-el">
|
||||||
<span id="add-card-button-span">Add card</span>
|
<span id="add-card-button-span">Add card</span>
|
||||||
</button>
|
</button>
|
||||||
|
|||||||
Reference in New Issue
Block a user