Commit a569e05e by Nilu Committed by Harsh Shah

job share button. applicant portal job title changes according annotation.…

job share button. applicant portal job title changes according annotation. Applicant portal footer changes
parent 856d8072
......@@ -353,4 +353,21 @@ public class Job extends BaseJob
return options;
}
public String getPageTitle()
{
StringBuilder title = new StringBuilder();
title.append("Talentology - ");
// TODO: add company / client name
title.append(getJobTitle()).append(" ");
if(getReferenceNumber() != null)
{
title.append(getReferenceNumber());
}
return title.toString();
}
}
\ No newline at end of file
......@@ -2631,7 +2631,7 @@ span.ex-management {
display: inline-block;
}
.edit-btn-dropdown a{
border-radius: 100px;
background-color: rgba(255, 255, 255, 0.15);
text-transform: uppercase;
letter-spacing: 1px;
......@@ -2642,10 +2642,20 @@ span.ex-management {
line-height: 45px;
height: 45px;
display: inline-block;
margin-left: 29px;
font-family: "Usual-Medium";
background-color: #667281;
}
.edit-btn-dropdown a.rightbtn {
border-radius:0 100px 100px 0;
margin-left: 0px;
}
.edit-btn-dropdown a.leftbtn {
border-radius: 100px 0 0 100px;
margin-left: 29px;
}
.edit-btn-dropdown a:hover,.edit-btn-dropdown a:focus{
background-color: #434c58;
}
......
......@@ -8,6 +8,7 @@
<oneit:dynIncluded>
<%
boolean toRedirect = GenericObjDF.getOrCreateObject (request, "Job", Job.REFERENCE_Job);
Job job = (Job) process.getAttribute("Job");
Debug.assertion(job != null, "Job is null in admin portal create job");
......
......@@ -8,6 +8,7 @@
Job job = (Job) process.getAttribute("Job");
int shortlisted = job.getNoOfCandidatesShortlisted();
String editJobPage = WebUtils.getSamePageInRenderMode(request, WebUtils.EDIT_JOB);
String sharePage = WebUtils.getSamePageInRenderMode(request, WebUtils.CREATED_JOB);
String jobPage = WebUtils.getSamePageInRenderMode(request, (shortlisted > 0 ? WebUtils.APPLICANTS_SHORTLIST : WebUtils.VIEW_APPLICANTS));
%>
......@@ -55,8 +56,13 @@
<span class="<%= job.getJobStatus().getName().toLowerCase() + "-status-icon" %>"></span>
<oneit:toString value="<%= job.getJobStatusText() %>" mode="EscapeHTML"/>
</span>
<span class="edit-btn-dropdown">
<oneit:button value=" " name="gotoPage" skin="link"
<oneit:button value="Share" cssClass="leftbtn" name="gotoPage" skin="link"
requestAttribs="<%= CollectionUtils.mapEntry("nextPage", sharePage + "&JobID=" + job.getObjectID())
.mapEntry("cancelProcess", true)
.toMap() %>"/>
<oneit:button value=" " cssClass="rightbtn" name="gotoPage" skin="link"
requestAttribs="<%= CollectionUtils.mapEntry("nextPage", editJobPage + "&JobID=" + job.getObjectID())
.mapEntry("cancelProcess", true)
.toMap() %>">
......
......@@ -6,11 +6,11 @@
Powered by
</div>
<div class="footer-site-logo">
<img src="images/logo.svg">
<a href="http://www.thetalentology.com/"><img src="images/logo.svg"></a>
</div>
<div class="footer-link text-center">
<ul>
<li><a href="#"> 2017 Talentology</a></li>
<li><a href="#">&copy; 2017 Talentology</a></li>
<li><a href="#">Privacy Policy</a></li>
</ul>
</div>
......
......@@ -29,7 +29,7 @@
<div class="main-position-overview">
<div class="aust-logo"><img src="images/australia-post.png"></div>
<div class="overview-title"><oneit:toString value="<%= job.getJobTitle() %>" mode="EscapeHTML"/></div>
<div class="overview-title"><oneit:toString value="<%= job.getPageTitle() %>" mode="EscapeHTML"/></div>
<%
if(job.getReferenceNumber() != null)
{
......
......@@ -22,7 +22,9 @@
<div class="main-verify-identity">
<div class="verify-aust-logo"><img src="images/australia-post.png"></div>
<div class="pl-verify">Please verify your identity before applying to:</div>
<div class="verify-i-title"><oneit:toString value="<%= job.getJobTitle() %>" mode="EscapeHTML"/></div>
<div class="verify-i-title">
<oneit:toString value="<%= job.getPageTitle() %>" mode="EscapeHTML"/>
</div>
<div class="main-box-layout verify-i-setpone">
<div class="box-label">Sign in using your social network of choice</div>
<ul class="social-login">
......
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