diff options
Diffstat (limited to 'conference_proposal.module')
-rw-r--r--[-rwxr-xr-x] | conference_proposal.module | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/conference_proposal.module b/conference_proposal.module index 5c06e1a..767eaf1 100755..100644 --- a/conference_proposal.module +++ b/conference_proposal.module @@ -328,7 +328,9 @@ ->fields("proposal_applications") ->condition("proposal_id",$proposal_id) ->execute()->fetchAll(); - + if(!$result){ + $markup .= "<h3 style='color:red'>No abstract uploaded</h3>"; + }else{ $headers = array( "#", "Name", "Bio" , "View abstract", "Download abstract", "Selected", ); @@ -344,9 +346,10 @@ ); if($row->selected) { $check = "<input class='shortlist' type='checkbox' data-aid='{$row->id}' checked>"; - } else { + } else + { $check = "<input class='shortlist' type='checkbox' data-aid='{$row->id}'>"; - } + } array_push($item, $check); // $proposal = db_select("proposal_type") // ->fields("proposal_type") @@ -370,6 +373,7 @@ ->fields("proposal_type") ->condition("id", $proposal_id) ->execute()->fetchObject(); + $markup .= l("<< Back to the list of Proposals", "conference_proposal/view-applications"); $markup .= "<div style='float:right'>"; $markup .= l("Download all applications", "conference_proposal/downloads_applications/{$row->proposal_id}/{$row->id}"); @@ -386,7 +390,7 @@ ) ) ); - } else { + } }else { /* List all the job positions. * Change the condition later based on end date. */ @@ -569,3 +573,4 @@ ?> + |