Commit 429564d6 by Nilu Committed by Harsh Shah

for now, set the shortlist default value to **25** until we have plan support

parent 216afacf
...@@ -299,4 +299,9 @@ public class Job extends BaseJob ...@@ -299,4 +299,9 @@ public class Job extends BaseJob
{ {
return isTrue(getIncludeAssessmentCriteria()); return isTrue(getIncludeAssessmentCriteria());
} }
public int getMaxShortlistApplicants()
{
return 25;
}
} }
\ No newline at end of file
...@@ -45,7 +45,8 @@ ...@@ -45,7 +45,8 @@
<% <%
for(Job job: jobs) for(Job job: jobs)
{ {
int shortlisted = job.getNoOfCandidatesShortlisted(); int shortlisted = job.getNoOfCandidatesShortlisted();
int maxShortlist = job.getMaxShortlistApplicants();
%> %>
<div class="job-list" id="<%= job.getID() %>"> <div class="job-list" id="<%= job.getID() %>">
<div class="job-row" > <div class="job-row" >
...@@ -86,10 +87,10 @@ ...@@ -86,10 +87,10 @@
<div class="ja-icon"> <div class="ja-icon">
<div class="conic-circle"> <div class="conic-circle">
<p style="display:none;"> <p style="display:none;">
<oneit:toString value="<%= shortlisted * 20 %>" mode="PercentageWholeNumber" /> <oneit:toString value="<%= shortlisted * (100 / maxShortlist) %>" mode="PercentageWholeNumber" />
</p> </p>
<% <%
if(shortlisted == 5) if(shortlisted == maxShortlist)
{ {
%> %>
<img src="images/stroke-3.svg" class="right-mark-img" /> <img src="images/stroke-3.svg" class="right-mark-img" />
...@@ -99,7 +100,9 @@ ...@@ -99,7 +100,9 @@
</div> </div>
</div> </div>
<div class="ja-count"> <div class="ja-count">
<oneit:toString value="<%= shortlisted %>" mode="EscapeHTML" nullValue="0"/>/5 <oneit:toString value="<%= shortlisted %>" mode="Integer" nullValue="0"/>/
<oneit:toString value="<%= maxShortlist %>" mode="Integer" nullValue="0"/>
<span class="grey-span">shortlisted</span> <span class="grey-span">shortlisted</span>
</div> </div>
</div> </div>
......
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