INFOBOX - Show Offline since in Sidebar
Shows the date and time since the node is offline
This commit is contained in:
parent
e385ac73ad
commit
32b919dca7
@ -39,7 +39,7 @@ 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)
|
||||
el.textContent = d.flags.online ? "online" : "offline, " + d.lastseen.fromNow(true) + " " + d.lastseen.format("(DD.MM.YYYY, H:mm:ss)")
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user