mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-05-23 02:21:47 -04:00
add user locked key to list view #6985
Signed-off-by: si458 <simonsmith5521@gmail.com>
This commit is contained in:
parent
c6928846d0
commit
11ae3775d3
11511
translate/translate.json
11511
translate/translate.json
File diff suppressed because it is too large
Load Diff
@ -5187,7 +5187,11 @@
|
|||||||
if (i > 0) { su = u.substring(i + 1); }
|
if (i > 0) { su = u.substring(i + 1); }
|
||||||
su = EscapeHtml(su);
|
su = EscapeHtml(su);
|
||||||
if (su.length > 15) { su = su.substring(0, 14) + '…'; }
|
if (su.length > 15) { su = su.substring(0, 14) + '…'; }
|
||||||
return '<span title="' + EscapeHtml(u) + '">' + su + '</span>';
|
if (node.lusers && node.lusers.length > 0) {
|
||||||
|
return addKeyLinkConditional(EscapeHtml(su), EscapeHtml(u) + " " + "(" + "Locked" + ")", (node.lusers && node.lusers.indexOf(u) >= 0));
|
||||||
|
} else {
|
||||||
|
return '<span title="' + EscapeHtml(u) + '">' + su + '</span>';
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function autoConnectDesktops() { if (Q('autoConnectDesktopCheckbox').checked == true) { connectAllKvmFunction(); } }
|
function autoConnectDesktops() { if (Q('autoConnectDesktopCheckbox').checked == true) { connectAllKvmFunction(); } }
|
||||||
|
@ -5696,7 +5696,11 @@
|
|||||||
if (i > 0) { su = u.substring(i + 1); }
|
if (i > 0) { su = u.substring(i + 1); }
|
||||||
su = EscapeHtml(su);
|
su = EscapeHtml(su);
|
||||||
if (su.length > 15) { su = su.substring(0, 14) + '…'; }
|
if (su.length > 15) { su = su.substring(0, 14) + '…'; }
|
||||||
return '<span title="' + EscapeHtml(u) + '">' + su + '</span>';
|
if (node.lusers && node.lusers.length > 0) {
|
||||||
|
return addKeyLinkConditional(EscapeHtml(su), EscapeHtml(u) + " " + "(" + "Locked" + ")", (node.lusers && node.lusers.indexOf(u) >= 0));
|
||||||
|
} else {
|
||||||
|
return '<span title="' + EscapeHtml(u) + '">' + su + '</span>';
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function autoConnectDesktops() { if (Q('autoConnectDesktopCheckbox').checked == true) { connectAllKvmFunction(); } }
|
function autoConnectDesktops() { if (Q('autoConnectDesktopCheckbox').checked == true) { connectAllKvmFunction(); } }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user