diff --git a/web/templates/index.html b/web/templates/index.html index e74288c..9da15eb 100644 --- a/web/templates/index.html +++ b/web/templates/index.html @@ -4859,7 +4859,9 @@ function _setPricingTotal(elId, has, total, worldTotal, count, totalRows) { parts.push(`Цены есть не для всех позиций: ${count} из ${totalRows}`); } - el.className = `${el.className} text-red-600 pricing-total-tip`.trim(); + // Red is reserved for a sum that actually leans on world stand-in prices. + el.className = `${el.className} ${share > 0 ? 'text-red-600' : ''} pricing-total-tip` + .replace(/\s+/g, ' ').trim(); el.innerHTML = `${formatCurrency(total)}${parts.join('
')}
`; }