Commit 040a5d22 by Harsh Shah

Finish Hotfix-20190124

parents bb867ad7 78929fa4
......@@ -17,11 +17,12 @@ public class SelectHiringTeamFP extends ORMProcessFormProcessor
{
HttpServletRequest request = submission.getRequest();
CompanyUser companyUser = (CompanyUser) request.getAttribute("CompanyUser");
String nextPage = (String) request.getAttribute("nextPage");
LogMgr.log(Job.LOG, LogLevel.PROCESSING1, "Inside SelectHiringTeamFP for ", companyUser, " selected hiring team : ", companyUser.getSelectedTeam());
request.getSession().setAttribute("SelectedHiringTeam", companyUser.getSelectedTeam());
return RedisplayResult.getInstance();
return new ProcessRedirectResult (nextPage, new String[]{});
}
}
\ No newline at end of file
......@@ -1356,10 +1356,11 @@ input.btn.btn-primary.top-margin-25{
.work-rating,.work-l-rating,.friend-rating {
background: #eff0f2;
padding: 15px 20px;
display: inline-block;
display: block;
font-size: 13px;
position: relative;
margin: 10px -25px;
/*width: 100%;*/
}
.rate-toggle {
float: right;
......@@ -1733,6 +1734,7 @@ p.job-txt , p.job-txt span{
}
.apply-job-logo-header .logo-img img {
height: 100%;
width: auto;
}
.apply-job-logo-header .header-title {
......@@ -1905,11 +1907,11 @@ table.pos-table{
border-radius: 3px;
display: inline-block;
margin: 0 auto;
width: 84.617%;
width: 56%;
}
.social-login li {
display: inline-block;
padding: 7.1% 7.8%;
padding: 10.1% 10.8%;
border-left: 2px solid #d3d3d3;
}
.social-login li a{
......
......@@ -6,6 +6,9 @@
<oneit:dynIncluded>
<div class="form-page-section">
<style>
.rate-background{overflow: hidden;}
</style>
<script type="text/javascript">
function moveImportanceSection(elementRating){
......
......@@ -168,7 +168,7 @@
<oneit:button name="selectHiringTeam" value="Save" cssClass="change-hiring-team hidden"
requestAttribs="<%= CollectionUtils.mapEntry("CompanyUser", companyUser)
// .mapEntry("nextPage", currentPage)
.mapEntry("nextPage", homeUrl)
.toMap() %>" />
<%--
<div class="inset-shadow"></div>
......
......@@ -310,6 +310,11 @@
for(FactorClass factorClass : factorClassDtls.keySet())
{
if(roleScoreMap.get(factorClass) == null)
{
continue;
}
Map<FactorLevelLink, Map> factorDetails = factorClassDtls.get(factorClass);
Double rating = roleScoreMap.get(factorClass).get2();
ColorCode colorCode = roleScoreMap.get(factorClass).get1();
......@@ -350,7 +355,7 @@
<div class="tab-view-label">
<oneit:toString value="<%= factorLevelLink.getFactor() %>" mode="EscapeHTML"/>
<%
if(job.isExpressJob())
if(false)//if(job.isExpressJob())
{
%>
<div class="ja-exp-fact-score">
......
......@@ -256,7 +256,7 @@
<div class="form-brack-line-sub"></div>
<div class="form-group">
<div class="beloning">
<oneit:toString value="<%= criteria.getName() %>" mode="EscapeHTML"/>
<oneit:toString value="<%= criteria.getDescription() %>" mode="EscapeHTML"/>
</div>
</div>
<%
......
......@@ -19,6 +19,15 @@
Debug.assertion(job != null, "Job is null in admin portal view applicants");
SecUser secUser = SecUser.getTXUser(transaction);
CompanyUser companyUser = secUser.getExtension(CompanyUser.REFERENCE_CompanyUser);
HiringTeam hiringTeam = companyUser.getSelectedTeam();
if(hiringTeam != job.getHiringTeam())
{
response.sendRedirect(WebUtils.getArticleByShortCut(transaction, WebUtils.ADMIN_HOME).getLink(request));
}
String currentPage = WebUtils.getSamePageInRenderMode(request, WebUtils.VIEW_APPLICANTS);
String applicationPage = WebUtils.getSamePageInRenderMode(request, WebUtils.VIEW_APPLICATION);
AppSortOption appSortOpt = null;
......
......@@ -22,12 +22,19 @@
Job job = jobApplication.getJob();
String samePage = WebUtils.getSamePageInRenderMode(request, WebUtils.VIEW_APPLICATION);
SecUser secUser = SecUser.getTXUser(transaction);
CompanyUser companyUser = secUser.getExtension(CompanyUser.REFERENCE_CompanyUser);
HiringTeam hiringTeam = companyUser.getSelectedTeam();
if(hiringTeam != job.getHiringTeam())
{
response.sendRedirect(WebUtils.getArticleByShortCut(transaction, WebUtils.ADMIN_HOME).getLink(request));
}
//to navigation between applications
if(applications==null)
if(applications == null)
{
// applications = Utils.getApplicationsSorted(job.getJobApplicationsSet(), AppSortOption.RANK);
applications = new ArrayList(job.getJobApplicationsSet());
process.setAttribute("Applications", applications);
}
......
......@@ -140,6 +140,7 @@
<img src="<%= request.getContextPath() %>/images/login-facebok-icon.svg" />
</oneit:button>
</li>
<%--
<li>
<oneit:button value=" " name="googleOAuthLogin" skin="link" cssClass="social_login_btn"
disabled="<%= Utils.googleAvailable() ? "false" : "true" %>"
......@@ -147,6 +148,7 @@
<img src="<%= request.getContextPath() %>/images/login-google.png" />
</oneit:button>
</li>
--%>
</ul>
</oneit:form>
......
update tl_level_factor set to_score= 13 where level_number = 1002 and factor_number = 13 and from_score = 9;
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