Commit f0c2358b by Nilu

S12521471 # Client - Incoming Issues (raised by Client) #Draft Job can view Applicant list

parent 44a1abc9
...@@ -43,6 +43,32 @@ ...@@ -43,6 +43,32 @@
{ {
int shortlisted = job.getNoOfCandidatesFor(ApplicationStatus.SHORTLISTED); int shortlisted = job.getNoOfCandidatesFor(ApplicationStatus.SHORTLISTED);
int maxShortlist = job.getMaxShortlistApplicants(); int maxShortlist = job.getMaxShortlistApplicants();
// go to edit job if job is in draft status
if(job.getJobStatus() == JobStatus.DRAFT)
{
Article jobsArticle = WebUtils.getArticleByShortCut(transaction, WebUtils.JOBS);
String editJobPage = "";
if(job.getDraftLocation() == null)
{
editJobPage = jobsArticle.getLink(request, CollectionUtils.mapEntry("cms.rm", WebUtils.JOB_REVIEW).toMap());
}
else if(job.getDraftLocation() == DraftLocation.DETAILS)
{
editJobPage = jobsArticle.getLink(request, CollectionUtils.mapEntry("cms.rm", WebUtils.CREATE_JOB).toMap());
}
else if(job.getDraftLocation() == DraftLocation.ASSESSMENT)
{
editJobPage = jobsArticle.getLink(request, CollectionUtils.mapEntry("cms.rm", WebUtils.ASSESSMENT_CRITERIA).toMap());
}
else if(job.getDraftLocation() == DraftLocation.CULTURE)
{
editJobPage = jobsArticle.getLink(request, CollectionUtils.mapEntry("cms.rm", WebUtils.WORKPLACE_CULTURE).toMap());
}
nextPage = editJobPage + "&JobID=" + job.getObjectID();
}
%> %>
<div class="job-list" id="<%= job.getID() %>"> <div class="job-list" id="<%= job.getID() %>">
<div class="job-row" > <div class="job-row" >
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment