Commit f312bf14 by Nilu

Row - Job - If Job is in Draft, then grey out numbers and don’t make it…

Row - Job - If Job is in Draft, then grey out numbers and don’t make it clickable to get to HT003… ain’t got no applicants! - disble button
parent 846b4c07
......@@ -91,25 +91,12 @@
<div class="job-application jl-c eq-second-height" style="height: 107px;">
<div class="ja-icon"><img src="images/job-list-user.svg"></div>
<div class="ja-count">
<%
if(job.getJobStatus() == JobStatus.DRAFT)
{
%>
<oneit:button value=" " name="gotoPage" skin="link"
requestAttribs="<%= CollectionUtils.mapEntry("nextPage", nextPage)
.mapEntry("procParams", CollectionUtils.mapEntry("Job", job).toMap())
.toMap() %>" disabled="<%= job.getJobStatus() == JobStatus.DRAFT ? "true" : "false" %>">
<oneit:toString value="<%= job.getNoOfCandidatesApplied() %>" mode="EscapeHTML" nullValue="0"/>
<%
}
else
{
%>
<oneit:button value=" " name="gotoPage" skin="link"
requestAttribs="<%= CollectionUtils.mapEntry("nextPage", nextPage)
.mapEntry("procParams", CollectionUtils.mapEntry("Job", job).toMap())
.toMap() %>">
<oneit:toString value="<%= job.getNoOfCandidatesApplied() %>" mode="EscapeHTML" nullValue="0"/>
</oneit:button>
<%
}
%>
</oneit:button>
<span class="grey-span">Applicants</span>
</div>
</div>
......@@ -130,25 +117,12 @@
</div>
</div>
<div class="ja-count">
<%
if(job.getJobStatus() == JobStatus.DRAFT)
{
%>
<oneit:button value=" " name="gotoPage" skin="link"
requestAttribs="<%= CollectionUtils.mapEntry("nextPage", shortlistPage)
.mapEntry("procParams", CollectionUtils.mapEntry("Job", job).toMap())
.toMap() %>" disabled="<%= job.getJobStatus() == JobStatus.DRAFT ? "true" : "false" %>">
<oneit:toString value="<%= shortlisted %>" mode="Integer" nullValue="0"/>
<%
}
else
{
%>
<oneit:button value=" " name="gotoPage" skin="link"
requestAttribs="<%= CollectionUtils.mapEntry("nextPage", shortlistPage)
.mapEntry("procParams", CollectionUtils.mapEntry("Job", job).toMap())
.toMap() %>">
<oneit:toString value="<%= shortlisted %>" mode="Integer" nullValue="0"/>
</oneit:button>
<%
}
%>
</oneit:button>
/
<oneit:toString value="<%= maxShortlist %>" mode="Integer" nullValue="0"/>
<span class="grey-span">shortlisted</span>
......
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