Commit 3198e21c by Nilu

S18688461 # Client - Incoming Issues (raised by Client) #Hide Client column if not using clients

parent e47f71ed
......@@ -6073,9 +6073,12 @@ label, label .label-title span {
.job-template-left.job-template-cl4 {
width: 25%;
}
.job-template-left.job-template-cl1.culture {
.job-template-left.job-template-cl1.culture, .job-template-left.job-template-cl1.no-client {
width: 49%;
}
.job-template-left.job-template-cl1.culture.no-client{
width: 75%;
}
.job-template-left.job-template-cl4 .m-user-right-padlock {
float: right;
padding: 17px 0;
......
......@@ -87,17 +87,24 @@
%>
<div class="template-list" id="<%= template.getID() %>">
<div class="template-row">
<div class="job-template-left job-template-cl1 culture">
<div class="job-template-left job-template-cl1 culture <%= hiringTeam.showHasClientSupport() ? "" : "no-client"%>">
<div class="template-name heading">
<oneit:toString value="<%= template.getTemplateName() %>" mode="EscapeHTML" />
</div>
</div>
<%
if(hiringTeam.showHasClientSupport())
{
%>
<div class="job-template-left job-template-cl2">
<span class="grey-span">CLIENT</span>
<div class="template-name">
<oneit:toString value="<%= template.getClient() %>" mode="EscapeHTML" />
</div>
</div>
<%
}
%>
<div class="job-template-left job-template-cl4">
<span class="grey-span">LAST UPDATED</span>
<div class="template-name">
......
......@@ -95,7 +95,7 @@
blankValue="Select your client" />
</oneit:recalcClass>
<div style="padding-top:10px;">
<oneit:recalcClass htmlTag="div" classScript="hiringTeam.showHasClientSupport() && job.getClient() != null ? 'show': 'hide'" hiringTeam="<%= hiringTeam %>" job="<%= job %>">
<oneit:recalcClass htmlTag="div" classScript="(!hiringTeam.showHasClientSupport() || (hiringTeam.showHasClientSupport() && job.getClient() != null)) ? 'show': 'hide'" hiringTeam="<%= hiringTeam %>" job="<%= job %>">
<tagfile:ormsingleasso_select obj="<%= job %>" assocName="AssessmentTemplate" optionsScript="job.getAssessmentTemplates()" job="<%= job%>"
blankValue="Select your template"/>
</oneit:recalcClass>
......
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