Commit e0127c8c authored by Mac Newbold's avatar Mac Newbold

Show idleness in state column in experiment lists.

parent 28b85198
......@@ -77,6 +77,9 @@ if (mysql_num_rows($query_result)) {
$state= $projrow[state];
$nodes= $projrow["count(r.node_id)"];
$name = stripslashes($projrow[expt_name]);
if ($projrow[swap_requests] > 0) {
$state .= " (idle)";
}
echo "<tr>
<td><A href='showexp.php3?pid=$pid&eid=$eid'>$eid</A></td>
......
......@@ -100,7 +100,10 @@ if (mysql_num_rows($query_result)) {
$state= $projrow[state];
$nodes= $projrow["count(r.node_id)"];
$name = stripslashes($projrow[expt_name]);
if ($projrow[swap_requests] > 0) {
$state .= "&nbsp;(idle)";
}
echo "<tr>
<td><A href='showproject.php3?pid=$pid'>$pid</A></td>
<td><A href='showexp.php3?pid=$pid&eid=$eid'>$eid</A></td>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment