From 33e8f2152acd534d007402b83a63884a2d105f9f Mon Sep 17 00:00:00 2001 From: Tobias Brunner Date: Fri, 11 Jul 2025 16:58:30 +0200 Subject: [PATCH] rename instances into replicas --- hub/services/static/js/price-calculator.js | 6 +++--- hub/services/templates/services/offering_detail.html | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/hub/services/static/js/price-calculator.js b/hub/services/static/js/price-calculator.js index 2bdb026..1fa9e2b 100644 --- a/hub/services/static/js/price-calculator.js +++ b/hub/services/static/js/price-calculator.js @@ -1834,11 +1834,11 @@ Please contact me with next steps for ordering this configuration.`; } // 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 if (this.managedServiceIncludesContainer) { this.managedServiceIncludesContainer.innerHTML = ''; - + if (mandatoryAddons && mandatoryAddons.length > 0) { mandatoryAddons.forEach(addon => { 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 if (!this.addonPricingContainer) return; - + // Clear existing addon pricing display (only for optional addons now) this.addonPricingContainer.innerHTML = ''; diff --git a/hub/services/templates/services/offering_detail.html b/hub/services/templates/services/offering_detail.html index 18aa19f..8ede07d 100644 --- a/hub/services/templates/services/offering_detail.html +++ b/hub/services/templates/services/offering_detail.html @@ -254,10 +254,10 @@ - +
@@ -332,7 +332,7 @@
- Instances + Replicas