diff options
-rwxr-xr-x | css/main.css | 3 | ||||
-rwxr-xr-x | job_portal.module | 13 |
2 files changed, 16 insertions, 0 deletions
diff --git a/css/main.css b/css/main.css index 8e0c0f6..8a36e99 100755 --- a/css/main.css +++ b/css/main.css @@ -19,3 +19,6 @@ .sync-msg { font-size: .8em; } +.messages.success { + background: lightgreen; +} diff --git a/job_portal.module b/job_portal.module index 249f226..32cc790 100755 --- a/job_portal.module +++ b/job_portal.module @@ -265,6 +265,9 @@ FOSSEE Team function job_portal_view_application_page($position_id=0) { $markup = ""; + if(array_key_exists("saved", $_GET)){ + drupal_set_message("Selections saved successfully.", "success"); + } if($position_id) { $result = db_select("job_portal_applications") ->fields("job_portal_applications") @@ -318,6 +321,16 @@ FOSSEE Team $markup .= "</div>"; $markup .= "<h5><u>{$job->position} ({$job->specialization}) - List of applications</u></h5>"; $markup .= bootstrap_table($headers, $rows); + $markup .= l("Save Selections", "jobs/view-applications/", + array( + "query" => array( + "saved" => "true" + ), + "attributes" => array( + "class" => "btn btn-primary" + ) + ) + ); } else { /* List all the job positions. * Change the condition later based on end date. |