diff options
author | Sashi20 | 2019-07-22 16:26:42 +0530 |
---|---|---|
committer | Sashi20 | 2019-07-22 16:26:42 +0530 |
commit | 38ab38b4c96aa14bb21fee2a0080dc38261599a4 (patch) | |
tree | 820158a216d69167617736bd259d28d2863c127d | |
parent | 4e1200e6600b42c6826cf71a4fa2278be826858d (diff) | |
download | cfd_case_study-38ab38b4c96aa14bb21fee2a0080dc38261599a4.tar.gz cfd_case_study-38ab38b4c96aa14bb21fee2a0080dc38261599a4.tar.bz2 cfd_case_study-38ab38b4c96aa14bb21fee2a0080dc38261599a4.zip |
Add a column for institute name
-rwxr-xr-x | cfd_case_study_details.inc | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/cfd_case_study_details.inc b/cfd_case_study_details.inc index 99254f0..d545f24 100755 --- a/cfd_case_study_details.inc +++ b/cfd_case_study_details.inc @@ -30,15 +30,18 @@ function cfd_case_study_completed_proposals_all() $query1->condition('proposal_id', $proposal_id); $case_study_files = $query1->execute(); $case_study_abstract = $case_study_files->fetchObject(); - $approval_date = date("Y", $row->approval_date); + $project_title = WordWrap(l($row->project_title, "case-study-project/case-study-run/" . $row->id),10,"\n",true); + $year = date("Y", $row->actual_completion_date); + $solver_used = WordWrap($row->solver_used,10,"\n",true); $preference_rows[] = array( $i, - l($row->project_title, "case-study-project/case-study-run/" . $row->id), - $row->solver_used, + $project_title, + $solver_used, l('Download', "case-study-project/download/project-file/" . $row->id), $row->contributor_name, $row->university, - $approval_date + $row->institute, + $year ); $i++; } //$row = $result->fetchObject() @@ -48,6 +51,7 @@ function cfd_case_study_completed_proposals_all() 'Solver used', 'Abstract File', 'Contributor Name', + 'University', 'Institute', 'Year' ); |