rename instances into replicas

This commit is contained in:
Tobias Brunner 2025-07-11 16:58:30 +02:00
parent ba64d24c7a
commit 33e8f2152a
No known key found for this signature in database
2 changed files with 6 additions and 6 deletions

View file

@ -1834,11 +1834,11 @@ Please contact me with next steps for ordering this configuration.`;
} }
// Override the updateAddonPricingDisplay method to use improved layout // Override the updateAddonPricingDisplay method to use improved layout
PriceCalculator.prototype.updateAddonPricingDisplay = function(mandatoryAddons, selectedOptionalAddons) { PriceCalculator.prototype.updateAddonPricingDisplay = function (mandatoryAddons, selectedOptionalAddons) {
// Handle mandatory addons - show them in the managed service includes section // Handle mandatory addons - show them in the managed service includes section
if (this.managedServiceIncludesContainer) { if (this.managedServiceIncludesContainer) {
this.managedServiceIncludesContainer.innerHTML = ''; this.managedServiceIncludesContainer.innerHTML = '';
if (mandatoryAddons && mandatoryAddons.length > 0) { if (mandatoryAddons && mandatoryAddons.length > 0) {
mandatoryAddons.forEach(addon => { mandatoryAddons.forEach(addon => {
const addonRow = document.createElement('div'); const addonRow = document.createElement('div');
@ -1862,7 +1862,7 @@ PriceCalculator.prototype.updateAddonPricingDisplay = function(mandatoryAddons,
// Handle optional addons - show them in the main addon pricing container // Handle optional addons - show them in the main addon pricing container
if (!this.addonPricingContainer) return; if (!this.addonPricingContainer) return;
// Clear existing addon pricing display (only for optional addons now) // Clear existing addon pricing display (only for optional addons now)
this.addonPricingContainer.innerHTML = ''; this.addonPricingContainer.innerHTML = '';

View file

@ -254,10 +254,10 @@
</div> </div>
</div> </div>
<!-- Instances Slider --> <!-- Replicas Slider -->
<div class="mb-4"> <div class="mb-4">
<label for="instancesRange" class="form-label d-flex justify-content-between"> <label for="instancesRange" class="form-label d-flex justify-content-between">
<span>Instances</span> <span>Replicas</span>
<span class="fw-bold" id="instancesValue">1</span> <span class="fw-bold" id="instancesValue">1</span>
</label> </label>
<input type="range" class="form-range" id="instancesRange" min="1" max="1" value="1" step="1"> <input type="range" class="form-range" id="instancesRange" min="1" max="1" value="1" step="1">
@ -332,7 +332,7 @@
<div class="fw-bold" id="planMemory"></div> <div class="fw-bold" id="planMemory"></div>
</div> </div>
<div class="col-3"> <div class="col-3">
<small class="text-muted">Instances</small> <small class="text-muted">Replicas</small>
<div class="fw-bold" id="planInstances"></div> <div class="fw-bold" id="planInstances"></div>
</div> </div>
</div> </div>