From: Vincent Vanwaelscappel Date: Thu, 13 Oct 2022 13:56:15 +0000 (+0200) Subject: wip #5225 @1 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=8c2b31b09a7e9f65492e5b23af30b62dfa8ab44d;p=sandvik-apps.git wip #5225 @1 --- diff --git a/CrushingChamber/_doc/data.xlsx b/CrushingChamber/_doc/data.xlsx index 9abfb07..da66f11 100644 Binary files a/CrushingChamber/_doc/data.xlsx and b/CrushingChamber/_doc/data.xlsx differ diff --git a/CrushingChamber/_doc/translations.xlsx b/CrushingChamber/_doc/translations.xlsx index 9652102..2521a44 100644 Binary files a/CrushingChamber/_doc/translations.xlsx and b/CrushingChamber/_doc/translations.xlsx differ diff --git a/CrushingChamber/js/script.js b/CrushingChamber/js/script.js index 7202c12..4272a20 100644 --- a/CrushingChamber/js/script.js +++ b/CrushingChamber/js/script.js @@ -534,7 +534,7 @@ function addField(name, value) { html += ''; hasSelected = value === ''; $.each(f.options, function (k, v) { - if(!v){ + if (!v) { return; } if (value == k) { @@ -665,7 +665,7 @@ function showResults(values, textValues) { return; } } - for (var i = 8; i <= 18; i++) { + for (var i = 8; i <= 19; i++) { if (i === 9) { continue; } @@ -674,9 +674,12 @@ function showResults(values, textValues) { if (i === 10) { label = line[9] + ' - ' + getTranslation(label); } - if (i >= 11) { + if (i >= 11 && i <= 18) { label = line[5] + '-concave ' + getTranslation(label); } + if (i === 19) { + label = getTranslation(label); + } tiles.push(tile(label, value)); } });