From 7ba16bb1c4ada2359ae24876caf7150f07848a44 Mon Sep 17 00:00:00 2001 From: Nils Schneider Date: Sun, 22 Mar 2015 16:25:53 +0100 Subject: [PATCH] show vpn status of links --- history.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/history.js b/history.js index 2df26ae..48004d7 100644 --- a/history.js +++ b/history.js @@ -497,6 +497,9 @@ function showNodeinfo(config, gotoAnything, d) { a1.onclick = gotoAnything.node(d.node) td1.appendChild(a1) + if (d.link.vpn) + td1.appendChild(document.createTextNode(" (VPN)")) + if (has_location(d.node)) { var span = document.createElement("span") span.classList.add("icon") @@ -663,6 +666,7 @@ function showLinkinfo(config, gotoAnything, d) { attributeEntry(attributes, "TQ", showTq(d)) attributeEntry(attributes, "Entfernung", showDistance(d)) + attributeEntry(attributes, "VPN", d.vpn ? "ja" : "nein") el.appendChild(attributes) }