use hardware identifier if no intelamt uuid

Signed-off-by: si458 <simonsmith5521@gmail.com>
This commit is contained in:
si458 2024-08-14 10:09:46 +01:00
parent 92385e3d73
commit 3a28e33efb
2 changed files with 18 additions and 3 deletions

View File

@ -55916,6 +55916,13 @@
"default.handlebars->container->column_l->p11->deskarea0->deskarea3x->DeskTools->deskToolsArea->DeskToolsProcessTab->deskToolsHeader->1"
]
},
{
"en": "PNG",
"xloc": [
"default-mobile.handlebars->dialog->3->dialog7->d7meshkvm->3->1->6->3->d7encoding->3",
"default.handlebars->container->dialog->dialogBody->dialog7->d7meshkvm->9->d7encoding->3"
]
},
{
"bs": "GURANJE",
"ca": "EMPUJAR",
@ -75130,6 +75137,13 @@
"terms.handlebars->container->column_l->43->1"
]
},
{
"en": "TIFF",
"xloc": [
"default-mobile.handlebars->dialog->3->dialog7->d7meshkvm->3->1->6->3->d7encoding->5",
"default.handlebars->container->dialog->dialogBody->dialog7->d7meshkvm->9->d7encoding->5"
]
},
{
"bs": "TLS",
"ca": "TLS",
@ -83778,8 +83792,8 @@
"ca": "WEB",
"en": "WEBP",
"xloc": [
"default-mobile.handlebars->dialog->3->dialog7->d7meshkvm->3->1->6->3->d7encoding->3",
"default.handlebars->container->dialog->dialogBody->dialog7->d7meshkvm->9->d7encoding->3"
"default-mobile.handlebars->dialog->3->dialog7->d7meshkvm->3->1->6->3->d7encoding->7",
"default.handlebars->container->dialog->dialogBody->dialog7->d7meshkvm->9->d7encoding->7"
]
},
{

View File

@ -12152,7 +12152,8 @@
if (node.intelamt != null) {
var x = '';
x += addDetailItem("Version", (node.intelamt.ver)?('v' + EscapeHtml(node.intelamt.ver)):('<i>' + "Unknown" + '</i>'), s);
x += addDetailItem("Identifier", (node.intelamt.uuid) ? (EscapeHtml(node.intelamt.uuid)) : ('<i>' + "Unknown" + '</i>'), s);
var hardwareidentifier = hardware.identifiers && hardware.identifiers.product_uuid;
x += addDetailItem("Identifier", (node.intelamt.uuid) ? (EscapeHtml(node.intelamt.uuid)) : (hardwareidentifier ? EscapeHtml(hardwareidentifier) : '<i>' + "Unknown" + '</i>'), s);
var provisioningStates = { 0: nobreak("Not Activated"), 1: nobreak("Pre-activation"), 2: nobreak("Activated") };
var provisioningMode = '';
if ((node.intelamt.state == 2) && node.intelamt.flags) { if (node.intelamt.flags & 2) { provisioningMode = (', ' + "Client Control Mode (CCM)"); } else if (node.intelamt.flags & 4) { provisioningMode = (', ' + "Admin Control Mode (ACM)"); } }