Commit 167906b8 by Nilu

hiding all template related code for sprint 1

parent 97cea3f3
......@@ -686,4 +686,11 @@ public class Job extends BaseJob
return filteredList;
}
// templates disabled for sprint 1
@Override
public FieldWriteability getWriteability_JobTemplate()
{
return FieldWriteability.NOT_IN_GUI;
}
}
\ No newline at end of file
......@@ -95,7 +95,8 @@
<oneit:recalcClass htmlTag="div" classScript="job.showAssessmentCriteriaSection() ? 'show': 'hide'" job="<%= job %>">
<%
if(templates.length > 0)
// if(templates.length > 0 || false)
if(false)
{
%>
<oneit:button value=" " name="loadRequirementsFromTemplate" cssClass="hide"
......@@ -107,17 +108,17 @@
<tagfile:ormsingleasso_select obj="<%= job %>" assocName="AssessmentTemplate" options="<%= templates %>"
blankValue="Optional: Select from previously defined Requirements"/>
</div>
<div class="info-box">
<div class="info-title">
Template : <strong>My Job Tempate Title</strong>
</div>
<div class="info-desc">
Changing requirement below is possible and will not overwrite <strong>My Job Tempate Title</strong>, OR <strong>Job Details</strong> as already defined, however they will need to be saved if you wish to use them again (which also includes Job Details).
</div>
</div>
<%
}
%>
<div class="info-box">
<div class="info-title">
Template : <strong>My Job Tempate Title</strong>
</div>
<div class="info-desc">
Changing requirement below is possible and will not overwrite <strong>My Job Tempate Title</strong>, OR <strong>Job Details</strong> as already defined, however they will need to be saved if you wish to use them again (which also includes Job Details).
</div>
</div>
<div class="warning-box">
Reqirments marked as Essential will be mandatory for any applicant applying for this job
</div>
......@@ -169,6 +170,11 @@
<%
}
%>
<%
if(false)
{
%>
<div class="form-group">
<div class="styled_checkboxes">
<div class="checkbox checkbox-primary">
......@@ -194,9 +200,11 @@
</span>
</div>
</oneit:recalcClass>
<%
}
%>
</oneit:recalcClass>
<div class="text-center">
<oneit:button value="Save as draft" name="saveJob" cssClass="btn btn-primary top-margin-25 largeBtn greyBtn"
requestAttribs="<%= CollectionUtils.mapEntry("nextPage", jobPage)
......
......@@ -455,14 +455,21 @@
</div>
<div class="form-brack-line"></div>
<div class="text-center">
<div class="form-group row">
<div class="col-md-12">
Job Templates include both Job Details and Requirements.
</div>
<div class="col-md-12">
Saving a new Job Template a can be completed on the next step.
</div>
</div>
<%
if(false)
{
%>
<div class="form-group row">
<div class="col-md-12">
Job Templates include both Job Details and Requirements.
</div>
<div class="col-md-12">
Saving a new Job Template a can be completed on the next step.
</div>
</div>
<%
}
%>
<oneit:button value="Save as draft" name="saveJob" cssClass="btn btn-primary largeBtn greyBtn"
requestAttribs="<%= CollectionUtils.mapEntry("nextPage", jobPage)
.mapEntry("DraftLocation", DraftLocation.DETAILS)
......
......@@ -84,10 +84,10 @@
<span class="create-job-icon from-template"></span>
<!--<img src="images/create_from_template.png">-->
<h3>Create from template</h3>
<oneit:ormInput obj="<%= job %>" type="radio" attributeName="FromTemplate" value="true"/>
<oneit:ormInput obj="<%= job %>" type="radio" attributeName="FromTemplate" value="true" disabled='true'/>
<div>
<tagfile:ormsingleasso_select obj="<%= job %>" assocName="JobTemplate" options="<%= jobs %>"
blankValue="Select your template"/>
blankValue="Select your template" disabled='true'/>
</div>
</label>
</div>
......
......@@ -83,17 +83,16 @@
requestAttribs="<%= CollectionUtils.mapEntry ("Job", job)
.mapEntry (UpdateMappedObjFP.FAIL_VALIDATION_ERRORS, Boolean.FALSE)
.toMap() %>" />
<div class="form-page-area nopadding">
<div class="form-page-area nopadding">
<div class="create-job">
<div class="form-page-section">
<div class="form-group">
<label class="label-16 work-title">Culture</label>
<p>
</p>
</div>
<%
if(templates.length > 0)
// if(templates.length > 0)
if(false)
{
%>
<div class="form-group row wider-select">
......@@ -211,6 +210,10 @@
%>
</div>
<div class="form-page-section">
<%
if(false)
{
%>
<div class="form-group">
<div class="styled_checkboxes">
<div class="checkbox checkbox-primary">
......@@ -236,6 +239,9 @@
</span>
</div>
</oneit:recalcClass>
<%
}
%>
<div class="text-center">
<oneit:button value="Save as draft" name="saveJob" cssClass="btn btn-primary top-margin-25 largeBtn greyBtn"
requestAttribs="<%= CollectionUtils.mapEntry("nextPage", jobPage)
......
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