[UPDT] BASE: Candidate self tracking settings changed to recruitment
This commit is contained in:
@@ -1,9 +1,18 @@
|
||||
{% extends 'settings.html' %} {% block settings %}{% load i18n %} {% load horillafilters %}
|
||||
|
||||
{% if "recruitment"|app_installed and perms.recruitment.change_recruitmentgeneralsetting %}
|
||||
{% include "recruitment/settings/settings.html" %}
|
||||
{% if perms.base.change_announcementexpire %}
|
||||
{% include "announcement/expiry_day.html" %}
|
||||
{% endif %}
|
||||
|
||||
{% if perms.base.view_dynamicpagination %}
|
||||
{% include "base/dynamic_pagination/pagination_settings.html" %}
|
||||
{% endif %}
|
||||
|
||||
{% if perms.horilla_audit.view_accountblockunblock %}
|
||||
{% include "base/audit_tag/employee_account_block_unblock.html" %}
|
||||
{% endif %}
|
||||
|
||||
|
||||
{% if "offboarding"|app_installed and perms.offboarding.change_offboardinggeneralsetting %}
|
||||
{% include "offboarding/settings/settings.html" %}
|
||||
{% endif %}
|
||||
@@ -20,9 +29,6 @@
|
||||
{% include "settings/settings.html" %}
|
||||
{% endif %}
|
||||
|
||||
{% if perms.base.change_announcementexpire %}
|
||||
{% include "announcement/expiry_day.html" %}
|
||||
{% endif %}
|
||||
|
||||
{% if "payroll"|app_installed %}
|
||||
{% if perms.payroll.change_encashmentgeneralsetting %}
|
||||
@@ -34,16 +40,9 @@
|
||||
{% include "base/audit_tag/history_tracking_fields.html" %}
|
||||
{% endif %}
|
||||
|
||||
{% if perms.horilla_audit.view_accountblockunblock %}
|
||||
{% include "base/audit_tag/employee_account_block_unblock.html" %}
|
||||
{% endif %}
|
||||
|
||||
{% if "payroll"|app_installed and perms.payroll.view_payrollsettings %}
|
||||
{% include "payroll/settings/payroll_settings.html" %}
|
||||
{% endif %}
|
||||
|
||||
{% if perms.base.view_dynamicpagination %}
|
||||
{% include "base/dynamic_pagination/pagination_settings.html" %}
|
||||
{% endif %}
|
||||
|
||||
{% endblock settings %}
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
{% extends "settings.html" %}
|
||||
{% block settings %}
|
||||
{% load i18n %}
|
||||
{% csrf_token %}
|
||||
<div class="oh-inner-sidebar-content__header mt-4">
|
||||
@@ -28,3 +30,5 @@
|
||||
</form>
|
||||
</div>
|
||||
<div class="oh-inner-sidebar-content__footer"></div>
|
||||
|
||||
{% endblock settings %}
|
||||
|
||||
@@ -581,4 +581,9 @@ urlpatterns = [
|
||||
views.hired_candidate_chart,
|
||||
name="hired-candidate-chart",
|
||||
),
|
||||
path(
|
||||
"self-tracking-feature",
|
||||
views.self_tracking_feature,
|
||||
name="self-tracking-feature",
|
||||
),
|
||||
]
|
||||
|
||||
@@ -2637,6 +2637,15 @@ def create_reject_reason(request):
|
||||
return render(request, "settings/reject_reason_form.html", {"form": form})
|
||||
|
||||
|
||||
@login_required
|
||||
@permission_required("recruitment.view_recruitment")
|
||||
def self_tracking_feature(request):
|
||||
"""
|
||||
Recruitment optional feature for candidate self tracking
|
||||
"""
|
||||
return render(request, "recruitment/settings/settings.html")
|
||||
|
||||
|
||||
@login_required
|
||||
@permission_required("recruitment.delete_rejectreason")
|
||||
def delete_reject_reason(request):
|
||||
|
||||
@@ -183,6 +183,16 @@
|
||||
<div class="row">
|
||||
<div class="col-sm-12 col-md-12 col-lg-12">
|
||||
<div class="oh-input-group">
|
||||
{% if perms.recruitment.view_recruitment %}
|
||||
<div class="oh-input-group">
|
||||
<a
|
||||
id="skills"
|
||||
href="{% url 'self-tracking-feature' %}"
|
||||
class="oh-inner-sidebar__link oh-dropdown__link"
|
||||
>{% trans "Candidate Self Tracking" %}</a
|
||||
>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% if perms.recruitment.view_rejectreason %}
|
||||
<a
|
||||
id="candidateRejectReasons"
|
||||
@@ -450,7 +460,7 @@
|
||||
<div class="oh-accordion ms-2">
|
||||
<div class="oh-accordion-header" style="font-size:16px;">
|
||||
<ion-icon name="analytics-outline" class="me-2"></ion-icon>
|
||||
{% trans "Performnce" %}
|
||||
{% trans "Performance" %}
|
||||
</div>
|
||||
<div class="oh-accordion-body">
|
||||
<div class="row">
|
||||
|
||||
Reference in New Issue
Block a user