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
4ce838cd
Commit
4ce838cd
authored
Jul 10, 2017
by
chenith
Committed by
Harsh Shah
Sep 06, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update applicant view page.
parent
ca21ac38
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
57 additions
and
0 deletions
+57
-0
Job.java
cmsWebApp/src/performa/orm/Job.java
+49
-0
common.css
cmsWebApp/webroot/css/common.css
+8
-0
view_application_tab_applicant.jsp
...nsions/adminportal/inc/view_application_tab_applicant.jsp
+0
-0
view_application.jsp
...ebApp/webroot/extensions/adminportal/view_application.jsp
+0
-0
No files found.
cmsWebApp/src/performa/orm/Job.java
View file @
4ce838cd
...
@@ -153,6 +153,20 @@ public class Job extends BaseJob
...
@@ -153,6 +153,20 @@ public class Job extends BaseJob
return
pipelineJob
().
toJobApplications
(
filter
).
toCandidate
().
vals
().
size
();
return
pipelineJob
().
toJobApplications
(
filter
).
toCandidate
().
vals
().
size
();
}
}
public
int
getNoOfDaystoClosed
()
{
int
dateDiff
=
0
;
if
(
this
.
getJobStatus
()==
JobStatus
.
OPEN
&&
this
.
getApplyBy
()!=
null
)
{
dateDiff
=
DateDiff
.
getDateDiff
(
Calendar
.
DATE
,
DateDiff
.
getToday
(),
this
.
getApplyBy
());
}
return
dateDiff
>
0
?
dateDiff
:
0
;
}
public
String
getDaysTillClose
()
public
String
getDaysTillClose
()
{
{
StringBuilder
sb
=
new
StringBuilder
();
StringBuilder
sb
=
new
StringBuilder
();
...
@@ -174,4 +188,38 @@ public class Job extends BaseJob
...
@@ -174,4 +188,38 @@ public class Job extends BaseJob
}
}
return
sb
.
toString
();
return
sb
.
toString
();
}
}
public
String
getClosingInText
()
{
StringBuilder
sb
=
new
StringBuilder
(
"Closing in "
);
if
(
this
.
getApplyBy
()!=
null
)
{
int
dateDiff
=
getNoOfDaystoClosed
();
sb
.
append
(
dateDiff
);
if
(
dateDiff
==
1
)
{
sb
.
append
(
" day"
);
}
else
{
sb
.
append
(
" days"
);
}
}
return
sb
.
toString
();
}
public
String
getJobStatusText
()
{
StringBuilder
sb
=
new
StringBuilder
(
"THIS JOB IS "
);
sb
.
append
(
this
.
getJobStatus
().
getDescription
());
return
sb
.
toString
();
}
}
}
\ No newline at end of file
cmsWebApp/webroot/css/common.css
View file @
4ce838cd
...
@@ -2426,6 +2426,14 @@ span.ex-management {
...
@@ -2426,6 +2426,14 @@ span.ex-management {
border-radius
:
100px
;
border-radius
:
100px
;
margin
:
-5px
11px
;
margin
:
-5px
11px
;
}
}
.complete-status-icon
{
width
:
20px
;
height
:
20px
;
border
:
solid
4px
#f56440
;
display
:
inline-block
;
border-radius
:
100px
;
margin
:
-5px
11px
;
}
.job-status-appli
{
.job-status-appli
{
text-transform
:
uppercase
;
text-transform
:
uppercase
;
letter-spacing
:
1px
;
letter-spacing
:
1px
;
...
...
cmsWebApp/webroot/extensions/adminportal/inc/view_application_tab_applicant.jsp
0 → 100644
View file @
4ce838cd
This diff is collapsed.
Click to expand it.
cmsWebApp/webroot/extensions/adminportal/view_application.jsp
View file @
4ce838cd
This diff is collapsed.
Click to expand it.
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