diff options
Diffstat (limited to 'src/api/dashboard/dashboard.html')
| -rw-r--r-- | src/api/dashboard/dashboard.html | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/api/dashboard/dashboard.html b/src/api/dashboard/dashboard.html index 9833426..b3f8986 100644 --- a/src/api/dashboard/dashboard.html +++ b/src/api/dashboard/dashboard.html @@ -240,8 +240,9 @@ function renderPeers() { : ""; const row = el("tr", { "data-peer": id, class: id === focused ? "focused" : "" }, el("td", { title: id }, peer.alias || el("span", { class: "id" }, short(id))), - el("td", { class: peer.status }, peer.status + - (peer.status === "dormant" ? " " + age(aged("dormantForSecs", peer.dormantForSecs)) : "")), + // How long dormant is about how long unseen ("seen"): in the tooltip only. + el("td", { class: peer.status, title: peer.status === "dormant" + ? "dormant for " + age(aged("dormantForSecs", peer.dormantForSecs)) : "" }, peer.status), el("td", {}, age(aged("lastSeenSecsAgo", peer.lastSeenSecsAgo))), el("td", { class: "id" }, via), el("td", {}, rtt), |
