Commit 3b8e0ce1 by Nilu

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

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