Commit 3b8e0ce1 by Nilu

S12567691 # Client - Incoming Issues (raised by Client) #Applicant Summary report

parent 475c89ee
......@@ -15,6 +15,7 @@
Candidate candidate = jobApplication.getCandidate();
boolean detailed = (boolean) getData(request, "Detailed");
boolean missingReq = jobApplication.hasFailedEssentialRequirements();
boolean hasAllReq = jobApplication.hasAllEssentialRequirements();
%>
<oneit:dynIncluded>
<div class="wrap">
......@@ -40,14 +41,11 @@
<%
}
%>
</span> SUPERLAW by <oneit:toString value="<%= job.getCreatedBy() %>" mode="EscapeHTML" nullValue=""/> &nbsp;&nbsp;.&nbsp;&nbsp;
</span> by <oneit:toString value="<%= job.getCreatedBy() %>" mode="EscapeHTML" nullValue=""/> &nbsp;&nbsp;.&nbsp;&nbsp;
<oneit:toString value="<%= job.getLevel() %>" mode="EscapeHTML" />
</div>
</div>
<div class="white-header">
<div class="applicant-details">
<div class="main-appli-name">
<div class="appli-name"><oneit:toString value="<%= candidate.getToString() %>" mode="EscapeHTML"/></div>
......@@ -60,8 +58,8 @@
<span>OVERALL RANK</span>
<oneit:toString value="<%= jobApplication.getOverallRank() %>" mode="Integer" />
</div>
<div class="shortlised" style="background-image: url('file:///<%= PDFUtils.FILE_BASE_PATH %>/images/shortlist.png')">
Shortlisted
<div class="shortlised">
<%= jobApplication.getWorkFlow().getName() %>
</div>
</div>
</div>
......@@ -72,10 +70,35 @@
</a>
<span class="contact-label">P </span>
<oneit:toString value="<%= candidate.getPhone() %>" mode="EscapeHTML" />
<%
if(jobApplication.getGoogleAddressText() != null)
{
%>
<span class="contact-label"><img src="file:///<%= PDFUtils.FILE_BASE_PATH %>/images/icon-location.png" /></span>
<span>Melbourne,Victoria Austrilia 3000 <div class="orange-text">Does not want to relocate</div></span>
<span>
<oneit:toString value="<%= jobApplication.getGoogleAddressText() %>" mode="EscapeHTML"/>
<%
if(jobApplication.isFarFromJob())
{
%>
<div class="<%= jobApplication.getHappyToRelocate() ? "green-text" : "orange-text"%>">
<%= jobApplication.getHappyToRelocate() ? "Happy" : "Does not want"%> to relocate
</div>
<%
}
%>
</span>
<%
}
if(jobApplication.getPreferRemote())
{
%>
<span class="contact-label"><img src="file:///<%= PDFUtils.FILE_BASE_PATH %>/images/icon-remote.png" /></span>
<span class="green-text">Prefers to work remote</span>
<%
}
%>
</div>
</div>
......@@ -90,10 +113,7 @@
<td class="chart-cell">
<div class="cell-title">Requirements</div>
<div class="chart-img">
<%if(missingReq) {%>
<div class="chart-cell-missing-req-icon">
</div>
<%}%>
<div class="<%= missingReq ? "chart-cell-missing-req-icon" : hasAllReq ? "chart-cell-all-req-icon" : "" %>"></div>
<img src="file:///<%= jobApplication.getRequirementRingChart() %>" alt="Ring Chart"/>
</div>
<div class="row four-label">
......@@ -141,14 +161,9 @@
</div>
<%if(missingReq) {%>
<div class="essential-requirements-note red-requirements">
<span>Does not meet essential requirements</span>
<div class="essential-requirements-note <%= missingReq ? "red-requirements" : hasAllReq ? "green-requirements" : "" %>">
<span><%= missingReq ? "Does not meet essential requirements" : hasAllReq ? "Does meet essential requirements" : ""%></span>
</div>
<%
}
%>
</td>
<td class="chart-info-cell">
<%
......@@ -161,13 +176,18 @@
%>
<div class="appli-row">
<span class="appli-label"><oneit:toString value="<%= importance %>" mode="EscapeHTML"/></span>
<%if (importance == Importance.ESSENTIAL) { %>
<span class="appli-percen gray"> <span class="req-icon"></span></span>
<%
if (importance == Importance.ESSENTIAL)
{
%>
<span class="appli-percen gray"> <span class="<%= missingReq ? "req-icon" : hasAllReq ? "all-req-icon" : ""%>"></span></span>
<span class="appli-progress-bar candidate-does-not">
Candidate does not meet essential requirments
<%= missingReq ? "Candidate does not meet essential requirements" : hasAllReq ? "Candidate meets essential requirements" : ""%>
</span>
<%}
else {
<%
}
else
{
%>
<span class="appli-percen gray"><oneit:toString value="<%= rating %>" mode="PercentageWholeNumber" /></span>
<span class="appli-progress-bar">
......@@ -175,8 +195,8 @@
<div class="progress-bar" style="width:<%= rating %>%;" role="progressbar" aria-valuenow="<%= rating %>" aria-valuemin="0" aria-valuemax="100"></div>
</div>
</span>
<%}
<%
}
%>
</div>
<%
......@@ -187,7 +207,7 @@
String dotClass = answer.getAnswer() ? "" : (importance == Importance.ESSENTIAL ? "red-dot" : (importance == Importance.HIGHLY_DESIRABLE ? "yellow-dot" : ""));
%>
<div class="tab-row fixed-height">
<div class="detail-tab-row-title <%= (importance == Importance.ESSENTIAL ? (!missingReq ? "red-requirements" : "green-requirements") : "") %>">
<div class="detail-tab-row-title <%= (importance == Importance.ESSENTIAL ? (answer.getAnswer() ? "green-requirements" : "red-requirements") : "")%>">
<span class="dot-icon"></span>
<oneit:toString value="<%= answer.getAssessmentCriteria().getCriteriaType() %>" mode="EscapeHTML"/>
</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