';
- if (!message.current) { message.current = "Unknown"; }
- if (!message.latest) { message.latest = "Unknown"; }
- x += addHtmlValue2("Current Version", '' + EscapeHtml(message.current) + '');
- x += addHtmlValue2("Latest Version", '' + EscapeHtml(message.latest) + '');
+ if (!message.tags.current) { message.tags.current = "Unknown"; }
+ if (!message.tags.stable) { message.tags.stable = "Unknown"; }
+ if (!message.tags.latest) { message.tags.latest = "Unknown"; }
+ x += addHtmlValue2("Current Version", '' + EscapeHtml(message.tags.current) + '');
+ x += '
';
+ x += addHtmlValue2('', '' + EscapeHtml(message.tags.stable) + '');
+ x += addHtmlValue2('', '' + EscapeHtml(message.tags.latest) + '');
x += '';
- if ((message.latest.indexOf('.') == -1) || (message.current == message.latest) || ((features & 2048) == 0)) {
+ if (((message.tags.current == message.tags.latest) && (message.tags.current == message.tags.stable)) || ((features & 2048) == 0)) {
setDialogMode(2, "MeshCentral Version", 1, null, x);
} else {
- setDialogMode(2, "MeshCentral Version", 3, server_showVersionDlgEx, x + '' + EscapeHtml(message.data) + '
';
+ x += '