Преглед на файлове

infobox: show node_id (and update changelog)

Nils Schneider преди 9 години
родител
ревизия
a4fdf39352
променени са 2 файла, в които са добавени 3 реда и са изтрити 0 реда
  1. 2 0
      CHANGELOG.md
  2. 1 0
      lib/infobox/node.js

+ 2 - 0
CHANGELOG.md

@@ -11,7 +11,9 @@
 - Improved performance on Firefox
 - Labels in graph view
 - infobox: link to geouri with node's coordinates
+- infobox: show node id
 - map: locate user
+- nodelist: sort by uptime fixed
 
 ### Fixed bugs:
 

+ 1 - 0
lib/infobox/node.js

@@ -153,6 +153,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, "Firmware", showFirmware(d))
     attributeEntry(attributes, "Uptime", showUptime(d))
     attributeEntry(attributes, "Teil des Netzes", showFirstseen(d))