summaryrefslogtreecommitdiff
path: root/cfd_case_study_details.inc
diff options
context:
space:
mode:
authorSashi202019-07-29 12:38:58 +0530
committerSashi202019-07-29 12:38:58 +0530
commit34b9adec46d8f2d031f156fe1890a24fe5f89fb9 (patch)
tree333abc0c8aa1ad1c57611d1f5122a4f69d8bd330 /cfd_case_study_details.inc
parent38ab38b4c96aa14bb21fee2a0080dc38261599a4 (diff)
downloadcfd_case_study-34b9adec46d8f2d031f156fe1890a24fe5f89fb9.tar.gz
cfd_case_study-34b9adec46d8f2d031f156fe1890a24fe5f89fb9.tar.bz2
cfd_case_study-34b9adec46d8f2d031f156fe1890a24fe5f89fb9.zip
Modify completed case studies to display only university
Diffstat (limited to 'cfd_case_study_details.inc')
-rwxr-xr-xcfd_case_study_details.inc9
1 files changed, 4 insertions, 5 deletions
diff --git a/cfd_case_study_details.inc b/cfd_case_study_details.inc
index d545f24..89a5645 100755
--- a/cfd_case_study_details.inc
+++ b/cfd_case_study_details.inc
@@ -30,7 +30,7 @@ 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();
- $project_title = WordWrap(l($row->project_title, "case-study-project/case-study-run/" . $row->id),10,"\n",true);
+ $project_title = l($row->project_title, "case-study-project/case-study-run/" . $row->id);
$year = date("Y", $row->actual_completion_date);
$solver_used = WordWrap($row->solver_used,10,"\n",true);
$preference_rows[] = array(
@@ -40,7 +40,6 @@ function cfd_case_study_completed_proposals_all()
l('Download', "case-study-project/download/project-file/" . $row->id),
$row->contributor_name,
$row->university,
- $row->institute,
$year
);
$i++;
@@ -51,8 +50,8 @@ function cfd_case_study_completed_proposals_all()
'Solver used',
'Abstract File',
'Contributor Name',
- 'University',
- 'Institute',
+ 'Institute/ University',
+ //'Institute',
'Year'
);
$output .= theme('table', array(
@@ -96,7 +95,7 @@ function cfd_case_study_progress_all()
'No',
'Case Study Project',
'Contributor Name',
- 'Institute',
+ 'Institute/ University',
'Year'
);
$page_content .= theme('table', array(