diff --git a/htdocs/langs/en_US/recruitment.lang b/htdocs/langs/en_US/recruitment.lang index 73e9a7fa07f..52290baf926 100644 --- a/htdocs/langs/en_US/recruitment.lang +++ b/htdocs/langs/en_US/recruitment.lang @@ -68,3 +68,5 @@ InterviewToDo=Interview to do AnswerCandidature=Candidature answer YourCandidature=Your candidature YourCandidatureAnswerMessage=Thanks you for your candidature.
... +JobClosedTextCandidateFound=The job offer is closed. The position has been filled. +JobClosedTextCanceled=The job offer is closed. diff --git a/htdocs/public/recruitment/view.php b/htdocs/public/recruitment/view.php index 04af0f5ad0f..46b9b1c03c6 100644 --- a/htdocs/public/recruitment/view.php +++ b/htdocs/public/recruitment/view.php @@ -280,10 +280,16 @@ if (empty($emailforcontact)) { } print ''; print $tmpuser->getFullName(-1); -print ' - '.img_picto('', 'email', 'class="paddingrightonly"').dol_print_email($emailforcontact); +print ' - '.dol_print_email($emailforcontact, 0, 0, 1, 0, 0, 1); print ''; print '
'; +if ($object->status == RecruitmentJobPosition::STATUS_RECRUITED) { + print info_admin($langs->trans("JobClosedTextCandidateFound"), 0, 0, 0, 'warning'); +} +if ($object->status == RecruitmentJobPosition::STATUS_CANCELED) { + print info_admin($langs->trans("JobClosedTextCanceled"), 0, 0, 0, 'warning'); +} print '
'; @@ -291,7 +297,7 @@ print '
'; $text = $object->description; print $text; -print ''; +print ''; print ''."\n"; print "\n";