Fixed text.
Ylian Saint-Hilaire committed
Dec 14, 2021 at 14:46 UTC
ffe7258d8102f2106b4ea2a1175642a67831ea19
2 files changed
+6
-6
views/default-mobile.handlebars
+2
-2
@@ -5968,7 +5968,7 @@
5968
if (currentMesh.mtype == 1) meshtype = "Intel® AMT only, no agent";
5969
if (currentMesh.mtype == 2) meshtype = "Managed using a software agent";
5970
if (currentMesh.mtype == 3) meshtype = "Local devices, no agent";
5971
- if (currentMesh.mtype == 4) { meshtype = "IP KVM device"; if (currentMesh.kvm.model == 1) { meshtype += ', ' + 'Raritan KX III'; } }
5971
+ if (currentMesh.mtype == 4) { meshtype = "IP-KVM device"; if (currentMesh.kvm.model == 1) { meshtype += ', ' + 'Raritan KX III'; } }
5972
5973
var x = '';
5974
x += addHtmlValue("Name", addLinkConditional(EscapeHtml(currentMesh.name), 'p20editmesh(1)', (meshrights & 1) != 0));
@@ -5976,7 +5976,7 @@
5976
x += addHtmlValue("Type", meshtype);
5977
//x += addHtmlValue('Identifier', currentMesh._id.split('/')[2]);
5978
5979
- // Display IP KVM information if needed
5979
+ // Display IP-KVM information if needed
5980
if (currentMesh.mtype == 4) {
5981
x += addHtmlValue("Hostname", currentMesh.kvm.host);
5982
x += addHtmlValue("Username", currentMesh.kvm.user);
views/default.handlebars
+4
-4
@@ -5150,7 +5150,7 @@
5150
if (node.porttype == 'PDU') {
5151
states.push('<span title="' + "Power switch is ready for use." + '">' + "Switch" + '</span>');
5152
} else {
5153
- states.push('<span title="' + "IP KVM port is up and ready for use." + '">' + "IP-KVM" + '</span>');
5153
+ states.push('<span title="' + "IP-KVM port is up and ready for use." + '">' + "IP-KVM" + '</span>');
5154
}
5155
} else {
5156
states.push('<span title="' + "Mesh agent is connected and ready for use." + '">' + "Agent" + '</span>');
@@ -11390,7 +11390,7 @@
11390
var x = "Create a new device group using the options below." + '<br /><br />', localGroupType = '';
11391
x += addHtmlValue("Name", '<input id=dp2meshname style=width:230px maxlength=128 onchange=account_validateMeshCreate() onkeyup=account_validateMeshCreate(event,1) />');
11392
if ((features & 1) == 0) { localGroupType += '<option value=3>' + "Local devices, no agent" + '</option>'; }
11393
- if (features2 & 0x10000) { localGroupType += '<option value=4>' + "IP KVM device" + '</option>'; }
11393
+ if (features2 & 0x10000) { localGroupType += '<option value=4>' + "IP-KVM / Power device" + '</option>'; }
11394
x += addHtmlValue("Type", '<div style=width:230px;margin:0;padding:0><select id=dp2meshtype style=width:100% onchange=account_validateMeshCreate() onkeyup=account_validateMeshCreate(event,2) ><option value=2>' + "Manage using a software agent" + '</option><option value=1>' + "Intel® AMT only, no agent" + '</option>' + localGroupType + '</select></div>');
11395
x += addHtmlValue("Description", '<div style=width:230px;margin:0;padding:0><textarea id=dp2meshdesc maxlength=1024 style=width:100%;resize:none></textarea></div>');
11396
x += '<div id=d2ipkvm style=display:none><hr />';
@@ -11642,7 +11642,7 @@
11642
if (currentMesh.mtype == 1) meshtype = "Intel® AMT only, no agent";
11643
if (currentMesh.mtype == 2) meshtype = "Managed using a software agent";
11644
if (currentMesh.mtype == 3) meshtype = "Local devices, no agent";
11645
- if (currentMesh.mtype == 4) { meshtype = "IP KVM device"; if (currentMesh.kvm.model == 1) { meshtype += ', ' + 'Raritan KX III'; } }
11645
+ if (currentMesh.mtype == 4) { meshtype = "IP-KVM device"; if (currentMesh.kvm.model == 1) { meshtype += ', ' + 'Raritan KX III'; } }
11646
11647
var x = '';
11648
if ((args.hide & 8) != 0) { x += addHtmlValue("Name", mname); } // If title bar is hidden, display the mesh name here
@@ -11652,7 +11652,7 @@
11652
x += addHtmlValue("Type", meshtype);
11653
//x += addHtmlValue('Identifier', currentMesh._id.split('/')[2]);
11654
11655
- // Display IP KVM information if needed
11655
+ // Display IP-KVM information if needed
11656
if (currentMesh.mtype == 4) {
11657
x += addHtmlValue("Hostname", currentMesh.kvm.host);
11658
x += addHtmlValue("Username", currentMesh.kvm.user);