Commit 50dee13e by nilu

S43014352 # Matchd / Talentology - No Plan [Enhancement] #Display diversity…

S43014352 # Matchd / Talentology - No Plan [Enhancement] #Display diversity stage completion on applicant incomplete tab
parent b1655396
......@@ -4450,6 +4450,22 @@ no-applicant.inactive a:hover,no-applicant.inactive a:hover span{
.appli-list-name.wider-box {
width: 37%;
}
.appli-list-name.wider-box.include-diversity {
width: 34%;
}
.appli-l.eq-second-height.diversity {
color: #4a4a4a;
font-size: 11px;
letter-spacing: 1px;
padding: 26px 10px 5px;
text-transform: uppercase;
}
.diversity .checkbox-list>label{
text-align: center;
}
.diversity .checkbox-list input[type="checkbox"]:disabled + label {
opacity: 1;
}
.appli-jcs {
color: #4a4a4a;
font-size: 11px;
......@@ -4554,6 +4570,9 @@ no-applicant.inactive a:hover,no-applicant.inactive a:hover span{
padding: 15px 23px 0;
width: 15%;
}
.appli-status.include-diversity {
width: 10%;
}
.appli-list-drop{
float: left;
width: 100%;
......
......@@ -15,6 +15,8 @@
new ObjectTransform[]{WorkFlow.pipesWorkFlow().toSortOrder()},
new Comparator[]{CollectionUtils.DEFAULT_COMPARATOR_NULLS_FIRST});
HiringTeam hiringTeam = job.getHiringTeam();
boolean hasDiversity = job.hasDiversityQuestions();
String hasDiversityCss = hasDiversity ? "include-diversity" : "";
%>
<oneit:dynIncluded>
......@@ -75,7 +77,7 @@
<label for="<%= appID %>"></label>
</div>
</div>
<div class="appli-list-name appli-l eq-second-height wider-box">
<div class="appli-list-name appli-l eq-second-height wider-box <%= hasDiversityCss %>">
<%
if(!hiringTeam.isTrue(hiringTeam.getOnTrial()) || j < 2)
{
......@@ -203,7 +205,21 @@
</span>
role fit
</div>
<div class="appli-status appli-l eq-second-height">
<%
if(hasDiversity)
{
%>
<div class="appli-l eq-second-height diversity">
<div class="checkbox-list">
<input type="checkbox" name="DiversityComplete" <%= jobApplication.diversityCompleted() ? "checked" : "" %> id="<%= appID + "_diversity" %>" class="applicant" disabled>
<label for="<%= appID + "_diversity" %>"></label>
</div>
diversity
</div>
<%
}
%>
<div class="appli-status appli-l eq-second-height <%= hasDiversityCss %>">
<%
if(jobApplication.getApplicationStatus() == ApplicationStatus.DRAFT)
{
......
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