Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
PERFORMA_REPLICA
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Muhammad Usman
PERFORMA_REPLICA
Commits
429564d6
Commit
429564d6
authored
Jul 31, 2017
by
Nilu
Committed by
Harsh Shah
Sep 06, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
for now, set the shortlist default value to **25** until we have plan support
parent
216afacf
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
4 deletions
+13
-4
Job.java
cmsWebApp/src/performa/orm/Job.java
+6
-0
job_list.jsp
cmsWebApp/webroot/extensions/adminportal/inc/job_list.jsp
+7
-4
No files found.
cmsWebApp/src/performa/orm/Job.java
View file @
429564d6
...
@@ -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
cmsWebApp/webroot/extensions/adminportal/inc/job_list.jsp
View file @
429564d6
...
@@ -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>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment