diff --git a/recruitment/static/dashboard/recruitmentChart.js b/recruitment/static/dashboard/recruitmentChart.js index 4e1830fb5..53d23e858 100644 --- a/recruitment/static/dashboard/recruitmentChart.js +++ b/recruitment/static/dashboard/recruitmentChart.js @@ -93,6 +93,13 @@ $(document).ready(function () { } }, }, + plugins: [{ + afterRender: (chart) => { + if (typeof emptyChart === "function") { + emptyChart(chart); + } + } + }] }); } @@ -189,7 +196,9 @@ $(document).ready(function () { }, plugins: [{ afterRender: (chart) => { - if (typeof emptyChart === "function") emptyChart(chart); + if (typeof emptyChart === "function") { + emptyChart(chart); + } } }] }); diff --git a/recruitment/templates/candidate/history.html b/recruitment/templates/candidate/history.html index ae9861bd4..61158cd83 100644 --- a/recruitment/templates/candidate/history.html +++ b/recruitment/templates/candidate/history.html @@ -1,67 +1,53 @@ {% load static %} {% load audit_filters %}
{{history.pair.0.history_description}}
- {% endif %} -{{history.pair.0.history_description}}
+ {% endif %} +