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 %}
- {% for history in candidate.tracking %} -
-
- - {{ history.pair.1.history_date|date:"M. d, Y" }} ,  - {{ history.pair.1.history_date|date:"g:i A" }} - -
-
-
- -
-
-
- {{history.updated_by}} -
- {% if history.pair.0.history_title %} - {{history.pair.0.history_title}} - {% endif %} {% if history.pair.0.history_description %} -

{{history.pair.0.history_description}}

- {% endif %} -
- {% for tag in history.pair.0.history_tags.all %} - {{tag.title}} - {% endfor %} -
-
-
-
- {{history.type}} -
    - {% for change in history.changes %} -
  • -
    - {{history.pair.1|fk_history:change}} - - {{history.pair.0|fk_history:change}} - ({{change.field}}) + {% for history in candidate.tracking %} +
    +
    + + {{ history.pair.1.history_date|date:"Y-m-d" }} ,  + {{ history.pair.1.history_date|date:"g:i A" }} + +
    +
    +
    + +
    -
  • - {% endfor %} -
-
+
+ {{history.updated_by}} +
+ {% if history.pair.0.history_title %} + {{history.pair.0.history_title}} + {% endif %} + {% if history.pair.0.history_description %} +

{{history.pair.0.history_description}}

+ {% endif %} +
+ {% for tag in history.pair.0.history_tags.all %} + {{tag.title}} + {% endfor %} +
+
+
+
+ {{history.type}} +
    + {% for change in history.changes %} +
  • +
    + {{history.pair.1|fk_history:change}} + + {{history.pair.0|fk_history:change}} + ({{change.field}}) +
    +
  • + {% endfor %} +
+
+
+
+
-
-
-
- {% endfor %} + {% endfor %}