mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-03-09 15:40:18 +00:00
Added device group creation time and user.
This commit is contained in:
parent
b046b46186
commit
e9c13ff12b
63 changed files with 707 additions and 743 deletions
|
@ -9154,6 +9154,17 @@
|
|||
x += addHtmlValue("Type", meshtype);
|
||||
//x += addHtmlValue('Identifier', currentMesh._id.split('/')[2]);
|
||||
|
||||
// Display device group creator
|
||||
if ((currentMesh.creatorid != null) && (users != null) && (users[currentMesh.creatorid] != null)) {
|
||||
var meshcreator = users[currentMesh.creatorid];
|
||||
x += addHtmlValue("Creator", '<a onclick=gotoUser(\"' + encodeURIComponentEx(meshcreator._id) + '\",false,null)>' + EscapeHtml(meshcreator.name) + '</a>');
|
||||
} else if (currentMesh.creatorname != null) {
|
||||
x += addHtmlValue("Creator", EscapeHtml(currentMesh.creatorname));
|
||||
}
|
||||
|
||||
// Display creation time
|
||||
if (currentMesh.creation != null) { x += addHtmlValue("Creation Time", printDateTime(new Date(currentMesh.creation))); }
|
||||
|
||||
// Display features
|
||||
if (currentMesh.mtype == 2) {
|
||||
var meshFeatures = [];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue