From a4fdf39352df83b3a4b587c530db60ea8fcc7910 Mon Sep 17 00:00:00 2001 From: Nils Schneider Date: Tue, 14 Apr 2015 23:52:35 +0200 Subject: [PATCH] infobox: show node_id (and update changelog) --- CHANGELOG.md | 2 ++ lib/infobox/node.js | 1 + 2 files changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index b8fb640..c2d8ad5 100644 --- a/CHANGELOG.md +++ b/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: diff --git a/lib/infobox/node.js b/lib/infobox/node.js index 759f132..8c8e8b9 100644 --- a/lib/infobox/node.js +++ b/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))