[FIX] RECRUITMENT: Recruitment dashboard redirect to employee start onboarding
This commit is contained in:
@@ -269,11 +269,11 @@ function populateStates(countryElementId, stateElementId) {
|
||||
stateElement.length = 0; // Fixed by Julian Woods
|
||||
stateElement.options[0] = new Option('Select State', '');
|
||||
stateElement.selectedIndex = 0;
|
||||
|
||||
var state_arr = s_a[selectedCountryIndex].split("|");
|
||||
|
||||
for (var i = 0; i < state_arr.length; i++) {
|
||||
stateElement.options[stateElement.length] = new Option(state_arr[i], state_arr[i]);
|
||||
if (s_a[selectedCountryIndex]) {
|
||||
state_arr = s_a[selectedCountryIndex].split("|")
|
||||
for (var i = 0; i < state_arr.length; i++) {
|
||||
stateElement.options[stateElement.length] = new Option(state_arr[i], state_arr[i]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -131,7 +131,7 @@
|
||||
<div class="col-12 col-sm-12 col-md-12 col-lg-5 oh-card" style="border:0px solid white" >
|
||||
<div class="oh-card-dashboard__header oh-card-dashboard__header--divider">
|
||||
<span class="oh-card-dashboard__title">{% trans "Candidate on Onboard" %}</span>
|
||||
{% if onboarding_count %}<span class="oh-card-dashboard__title float-end"><a href="{% url 'onboarding-view' %}" style="text-decoration:none; color:orange;">{% trans "View all" %}</a></span>{% endif %}
|
||||
{% if onboarding_count %}<span class="oh-card-dashboard__title float-end"><a href="{% url 'candidate-view' %}?start_onboard=true" style="text-decoration:none; color:orange;">{% trans "View all" %}</a></span>{% endif %}
|
||||
</div>
|
||||
<div class="oh-card-dashboard__body" style="height:325px; overflow-y:auto;">
|
||||
{% if onboarding_count %}
|
||||
|
||||
@@ -269,10 +269,11 @@ function populateStates(countryElementId, stateElementId) {
|
||||
stateElement.length = 0; // Fixed by Julian Woods
|
||||
stateElement.options[0] = new Option('Select State', '');
|
||||
stateElement.selectedIndex = 0;
|
||||
var state_arr = s_a[selectedCountryIndex].split("|");
|
||||
|
||||
for (var i = 0; i < state_arr.length; i++) {
|
||||
stateElement.options[stateElement.length] = new Option(state_arr[i], state_arr[i]);
|
||||
if (s_a[selectedCountryIndex]) {
|
||||
state_arr = s_a[selectedCountryIndex].split("|")
|
||||
for (var i = 0; i < state_arr.length; i++) {
|
||||
stateElement.options[stateElement.length] = new Option(state_arr[i], state_arr[i]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user