Browse Source

Show site code in infobox

Michael Schwarz 8 years ago
parent
commit
6c5686e7f0
1 changed files with 1 additions and 0 deletions
  1. 1 0
      lib/infobox/node.js

+ 1 - 0
lib/infobox/node.js

@@ -190,6 +190,7 @@ define(["moment", "numeral", "tablesort", "tablesort.numeric"],
     attributeEntry(attributes, "Hardware",  dictGet(d.nodeinfo, ["hardware", "model"]))
     attributeEntry(attributes, "Primäre MAC", dictGet(d.nodeinfo, ["network", "mac"]))
     attributeEntry(attributes, "Node ID", dictGet(d.nodeinfo, ["node_id"]))
+    attributeEntry(attributes, "Sitecode", dictGet(d.nodeinfo, ["system", "site_code"]))
     attributeEntry(attributes, "Firmware", showFirmware(d))
     attributeEntry(attributes, "Uptime", showUptime(d))
     attributeEntry(attributes, "Teil des Netzes", showFirstseen(d))