diff --git a/lib/infobox/node.js b/lib/infobox/node.js index f5d7e7b..e03709e 100644 --- a/lib/infobox/node.js +++ b/lib/infobox/node.js @@ -24,6 +24,7 @@ define(function () { attributeEntry(attributes, "Teil des Netzes", showFirstseen(d)) attributeEntry(attributes, "Arbeitsspeicher", showRAM(d)) attributeEntry(attributes, "IP Adressen", showIPs(d)) + attributeEntry(attributes, "Autom. Updates", showAutoupdate(d)) attributeEntry(attributes, "Clients", showClients(d)) el.appendChild(attributes) @@ -192,5 +193,13 @@ define(function () { return span } + + function showAutoupdate(d) { + var au = dictGet(d.nodeinfo, ["software", "autoupdater"]) + if (!au) + return + + return au.enabled ? "aktiviert (" + au.branch + ")" : "deaktiviert" + } } })