summaryrefslogtreecommitdiff
path: root/lab_details.inc
diff options
context:
space:
mode:
Diffstat (limited to 'lab_details.inc')
-rwxr-xr-xlab_details.inc10
1 files changed, 9 insertions, 1 deletions
diff --git a/lab_details.inc b/lab_details.inc
index 898b504..bd270f7 100755
--- a/lab_details.inc
+++ b/lab_details.inc
@@ -20,10 +20,17 @@ function lab_migration_completed_labs_all()
while ($row = $result->fetchObject())
{
$approval_date = date("Y", $row->approval_date);
+ if($row->problem_statement_file == ''){
+ $problem_statement_file = "NA";
+ }
+ else{
+ $problem_statement_file = l('View', 'lab-migration/download/problem-statement/' . $row->id);
+ }
$preference_rows[] = array(
$i,
$row->university,
- l($row->lab_title, "lab-migration/lab-migration-run/" . $row->id),
+ l($row->lab_title, "lab-migration/experiments-list/" . $row->id),
+ $problem_statement_file,
$approval_date
);
$i--;
@@ -32,6 +39,7 @@ function lab_migration_completed_labs_all()
'No',
'Institute',
'Lab',
+ 'Problem Statement',
'Year'
);
$output .= theme('table', array(