diff --git a/lib/infobox/node.js b/lib/infobox/node.js index 39b8183..c1f34b3 100644 --- a/lib/infobox/node.js +++ b/lib/infobox/node.js @@ -39,7 +39,10 @@ define(["moment", "numeral", "tablesort", "tablesort.numeric"], function showStatus(d) { return function (el) { el.classList.add(d.flags.online ? "online" : "offline") - el.textContent = (d.flags.online ? "online " : "offline, " + d.lastseen.fromNow(true)) + " (Stand " + d.lastseen.format("DD.MM.YYYY, H:mm:ss)") + if (d.flags.online) + el.textContent = "online, letzte Nachricht vor " + d.lastseen.fromNow(true) + " (" + d.lastseen.format("DD.MM.YYYY, H:mm:ss") + ")" + else + el.textContent = "offline, letzte Nachricht vor " + d.lastseen.fromNow(true) + " (" + d.lastseen.format("DD.MM.YYYY, H:mm:ss") + ")" } }