Commit 040a5d22 by Harsh Shah

Finish Hotfix-20190124

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