git://git.onelab.eu
/
plewww.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
consistency in the way nodes status is displayed in the node and slice areas
[plewww.git]
/
planetlab
/
nodes
/
node.php
diff --git
a/planetlab/nodes/node.php
b/planetlab/nodes/node.php
index
ec3e03d
..
11df5b8
100644
(file)
--- a/
planetlab/nodes/node.php
+++ b/
planetlab/nodes/node.php
@@
-241,7
+241,8
@@
$details->th_td("Last contact",$Node->lastContact());
// boot area
$details->space ();
// boot area
$details->space ();
-$details->th_td ("Observed Boot state",$run_level . ( $Node->stale() ? " -- stale value" : "" ));
+$stale_text = $Node->stale() ? ("... (more than " . Node::stale_text() . " ago)") : "" ;
+$details->th_td ("Observed Boot state", $run_level . $stale_text);
if ( ! ($local_peer && $privileges)) {
// just display it
$boot_value=$boot_state;
if ( ! ($local_peer && $privileges)) {
// just display it
$boot_value=$boot_state;