diff --git a/web/public/nodes.html b/web/public/nodes.html index fb7057b..7b3b7f2 100644 --- a/web/public/nodes.html +++ b/web/public/nodes.html @@ -173,7 +173,7 @@ ${timeAgo(n.last_heard)} ${fmt(n.latitude)} ${fmt(n.longitude)} - ${n.pos_time_iso || ""}`; + ${n.pos_time_iso ? `${n.pos_time_iso} (${timeAgo(n.position_time)})` : ""}`; tb.appendChild(tr); } } @@ -202,7 +202,7 @@ (n.snr != null ? `SNR: ${n.snr}` : null), (n.battery_level != null ? `Battery: ${n.battery_level}` : null), (n.last_heard ? `Last seen: ${timeAgo(n.last_heard)}` : null), - (n.pos_time_iso ? `Pos time: ${n.pos_time_iso}` : null) + (n.pos_time_iso ? `Pos time: ${n.pos_time_iso} (${timeAgo(n.position_time)})` : null) ].filter(Boolean); marker.bindPopup(lines.join('
')); marker.addTo(markersLayer);