Skip to content
Snippets Groups Projects
Commit 47c7fcbf authored by Nils Schneider's avatar Nils Schneider
Browse files

Merge pull request #10 from plumpudding/master

show router hardware in link info
parents 773cbe8b f38471f2
No related branches found
No related tags found
No related merge requests found
...@@ -20,6 +20,9 @@ define(function () { ...@@ -20,6 +20,9 @@ define(function () {
attributeEntry(attributes, "TQ", showTq(d)) attributeEntry(attributes, "TQ", showTq(d))
attributeEntry(attributes, "Entfernung", showDistance(d)) attributeEntry(attributes, "Entfernung", showDistance(d))
attributeEntry(attributes, "VPN", d.vpn ? "ja" : "nein") attributeEntry(attributes, "VPN", d.vpn ? "ja" : "nein")
var hw1 = dictGet(d.source.node.nodeinfo, ["hardware", "model"])
var hw2 = dictGet(d.target.node.nodeinfo, ["hardware", "model"])
attributeEntry(attributes, "Hardware", (hw1 != null ? hw1 : "unbekannt") + "" + (hw2 != null ? hw2 : "unbekannt"))
el.appendChild(attributes) el.appendChild(attributes)
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment