diff --git a/translate/translate.json b/translate/translate.json index 6fcfda7d..8c67a2e5 100644 --- a/translate/translate.json +++ b/translate/translate.json @@ -756,7 +756,7 @@ "fi": ", vain Intel® AMT", "fr": ", Intel® AMT uniquement", "hi": ", Intel® AMT केवल", - "it": ", Intel & reg; Solo AMT", + "it": ", Intel® Solo AMT", "ja": "、Intel® AMTのみ", "ko": ", Intel® AMT 만", "nl": ", Intel® AMT alleen", diff --git a/views/default.handlebars b/views/default.handlebars index d3c16bf5..644b8373 100644 --- a/views/default.handlebars +++ b/views/default.handlebars @@ -3781,6 +3781,13 @@ var deviceBoxWidth = Math.floor(totalDeviceViewWidth / 301); deviceBoxWidth = 301 + Math.floor((totalDeviceViewWidth - (deviceBoxWidth * 301)) / deviceBoxWidth); + // Compute number of colums + var colcount = 4; + if (deviceViewSettings && deviceViewSettings.devsCols) { + colcount = deviceViewSettings.devsCols.length + 1; + if (deviceViewSettings.devsCols.indexOf('desc') >= 0) { colcount--; } // Description is not an extra column. + } + // Go thru the list of nodes and display them for (var i in nodes) { var node = nodes[i]; @@ -3794,7 +3801,7 @@ if (((view == 1) || (view == 3) || (view == 5)) && (current != null)) { r += ''; } // Close collapse div deviceHeaderSet(); var extra = ''; - if (view == 2) { r += ''; } + if (view == 2) { r += ''; } if (meshes[node.meshid] && (meshes[node.meshid].mtype == 1)) { extra = '' + ", Intel® AMT only" + ''; } if (meshes[node.meshid] && (meshes[node.meshid].mtype == 3)) { extra = '' + ", Local Devices" + ''; } if ((view == 1) && (current != null)) { if (c == 2) { r += '
'; } if (r != '') { r += ''; } } @@ -3826,7 +3833,7 @@ deviceHeaderSet(); if ((view == 1) && (current !== null)) { if (c == 2) { r += '
'; } if (r != '') { r += ''; } } - if (view == 2) { r += ''; } + if (view == 2) { r += ''; } r += '
'; if ((view == 1) || (view == 2) || (view == 3) || (view == 5)) { var collapsed = CollapsedGroups['pwr:' + pwr]; @@ -3903,7 +3910,7 @@ for (var j in groupNames) { var i = groupNames[j]; if (view == 2) { - r += '
'; + r += '
'; var collapsed = CollapsedGroups['tag:' + encodeURIComponentEx(i)]; r += ''; // Collapse action r += '' + groupCount[i] + ' node' + ((groupCount[i] > 1) ? 's' : '') + '' + EscapeHtml(i).split('|').join(' → ').split('**INDV*~*DEVS**').join('' + "Individual Devices" + '') + '
' + groups[i];