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{ ...@@ -4450,6 +4450,22 @@ no-applicant.inactive a:hover,no-applicant.inactive a:hover span{
.appli-list-name.wider-box { .appli-list-name.wider-box {
width: 37%; 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 { .appli-jcs {
color: #4a4a4a; color: #4a4a4a;
font-size: 11px; font-size: 11px;
...@@ -4554,6 +4570,9 @@ no-applicant.inactive a:hover,no-applicant.inactive a:hover span{ ...@@ -4554,6 +4570,9 @@ no-applicant.inactive a:hover,no-applicant.inactive a:hover span{
padding: 15px 23px 0; padding: 15px 23px 0;
width: 15%; width: 15%;
} }
.appli-status.include-diversity {
width: 10%;
}
.appli-list-drop{ .appli-list-drop{
float: left; float: left;
width: 100%; width: 100%;
......
...@@ -15,6 +15,8 @@ ...@@ -15,6 +15,8 @@
new ObjectTransform[]{WorkFlow.pipesWorkFlow().toSortOrder()}, new ObjectTransform[]{WorkFlow.pipesWorkFlow().toSortOrder()},
new Comparator[]{CollectionUtils.DEFAULT_COMPARATOR_NULLS_FIRST}); new Comparator[]{CollectionUtils.DEFAULT_COMPARATOR_NULLS_FIRST});
HiringTeam hiringTeam = job.getHiringTeam(); HiringTeam hiringTeam = job.getHiringTeam();
boolean hasDiversity = job.hasDiversityQuestions();
String hasDiversityCss = hasDiversity ? "include-diversity" : "";
%> %>
<oneit:dynIncluded> <oneit:dynIncluded>
...@@ -75,7 +77,7 @@ ...@@ -75,7 +77,7 @@
<label for="<%= appID %>"></label> <label for="<%= appID %>"></label>
</div> </div>
</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) if(!hiringTeam.isTrue(hiringTeam.getOnTrial()) || j < 2)
{ {
...@@ -203,7 +205,21 @@ ...@@ -203,7 +205,21 @@
</span> </span>
role fit role fit
</div> </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) 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