Commit be94e725 authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Add display of expt_count and expt_last (in projects table) to track

who is active.
parent f563b497
......@@ -33,6 +33,8 @@ function SHOWPROJECT($pid, $thisuid) {
$proj_why = $row[why];
$control_node = $row[control_node];
$approved = $row[approved];
$expt_count = $row[expt_count];
$expt_last = $row[expt_last];
if ($proj_public) {
$proj_public = "Yes";
......@@ -41,6 +43,10 @@ function SHOWPROJECT($pid, $thisuid) {
$proj_public = "No";
}
if (!$expt_last) {
$expt_last = "&nbsp";
}
#
# Generate the table.
#
......@@ -102,6 +108,16 @@ function SHOWPROJECT($pid, $thisuid) {
<td class=\"left\">$proj_expires</td>
</tr>\n";
echo "<tr>
<td>Experiments Created:</td>
<td class=\"left\">$expt_count</td>
</tr>\n";
echo "<tr>
<td>Date of last experiment:</td>
<td class=\"left\">$expt_last</td>
</tr>\n";
echo "<tr>
<td>Approved?: </td>\n";
if ($approved) {
......
Supports Markdown
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