[FIX] RECRUITMENT: Invalid date display
This commit is contained in:
@@ -93,6 +93,13 @@ $(document).ready(function () {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
plugins: [{
|
||||||
|
afterRender: (chart) => {
|
||||||
|
if (typeof emptyChart === "function") {
|
||||||
|
emptyChart(chart);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}]
|
||||||
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@@ -189,7 +196,9 @@ $(document).ready(function () {
|
|||||||
},
|
},
|
||||||
plugins: [{
|
plugins: [{
|
||||||
afterRender: (chart) => {
|
afterRender: (chart) => {
|
||||||
if (typeof emptyChart === "function") emptyChart(chart);
|
if (typeof emptyChart === "function") {
|
||||||
|
emptyChart(chart);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}]
|
}]
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -1,67 +1,53 @@
|
|||||||
{% load static %} {% load audit_filters %}
|
{% load static %} {% load audit_filters %}
|
||||||
<div class="row">
|
<div class="row">
|
||||||
{% for history in candidate.tracking %}
|
{% for history in candidate.tracking %}
|
||||||
<div class="oh-history__container">
|
<div class="oh-history__container">
|
||||||
<div class="oh-history_date oh-card__title oh-card__title--sm fw-bold me-2">
|
<div class="oh-history_date oh-card__title oh-card__title--sm fw-bold me-2">
|
||||||
<span class="oh-history_date-content">
|
<span class="oh-history_date-content">
|
||||||
<span class="dateformat_changer">{{ history.pair.1.history_date|date:"M. d, Y" }}</span> , 
|
<span class="dateformat_changer">{{ history.pair.1.history_date|date:"Y-m-d" }}</span> , 
|
||||||
<span class="timeformat_changer">{{ history.pair.1.history_date|date:"g:i A" }}</span>
|
<span class="timeformat_changer">{{ history.pair.1.history_date|date:"g:i A" }}</span>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="d-flex">
|
<div class="d-flex">
|
||||||
<div class="oh-history_user-img">
|
<div class="oh-history_user-img">
|
||||||
<img
|
<img src="{{history.updated_by.get_avatar}}" alt="" class="oh-history_user-pic" />
|
||||||
src="{{history.updated_by.get_avatar}}"
|
<div class="oh-history_user-state oh-user_inactive"></div>
|
||||||
alt=""
|
|
||||||
class="oh-history_user-pic"
|
|
||||||
/>
|
|
||||||
<div class="oh-history_user-state oh-user_inactive"></div>
|
|
||||||
</div>
|
|
||||||
<div class="oh-history_user-details">
|
|
||||||
<span class="oh-history__username">{{history.updated_by}}</span>
|
|
||||||
<div class="oh-history_abt pb-0">
|
|
||||||
{% if history.pair.0.history_title %}
|
|
||||||
<span class="oh-history_task-state"
|
|
||||||
>{{history.pair.0.history_title}}</span
|
|
||||||
>
|
|
||||||
{% endif %} {% if history.pair.0.history_description %}
|
|
||||||
<p class="oh-history_time">{{history.pair.0.history_description}}</p>
|
|
||||||
{% endif %}
|
|
||||||
<div class="oh-history_tabs">
|
|
||||||
{% for tag in history.pair.0.history_tags.all %}
|
|
||||||
<a href="#" class="oh-history_msging-email oh-history_tabs-items"
|
|
||||||
>{{tag.title}}</a
|
|
||||||
>
|
|
||||||
{% endfor %}
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="oh-history_msg-container">
|
|
||||||
<div class="oh-history_task-tracker">
|
|
||||||
<span class="oh-history_msging-email">{{history.type}}</span>
|
|
||||||
<ul class="ul">
|
|
||||||
{% for change in history.changes %}
|
|
||||||
<li class="oh-history_task-list">
|
|
||||||
<div class="oh-history_track-value">
|
|
||||||
<span>{{history.pair.1|fk_history:change}}</span>
|
|
||||||
<img
|
|
||||||
src="{% static '/images/ui/arrow-right-line.svg' %}"
|
|
||||||
class="oh-progress_arrow"
|
|
||||||
alt=""
|
|
||||||
/>
|
|
||||||
<span class="oh-history_tracking-value"
|
|
||||||
>{{history.pair.0|fk_history:change}}</span
|
|
||||||
>
|
|
||||||
<span class="oh-history-task-state"
|
|
||||||
><i>({{change.field}})</i></span
|
|
||||||
>
|
|
||||||
</div>
|
</div>
|
||||||
</li>
|
<div class="oh-history_user-details">
|
||||||
{% endfor %}
|
<span class="oh-history__username">{{history.updated_by}}</span>
|
||||||
</ul>
|
<div class="oh-history_abt pb-0">
|
||||||
</div>
|
{% if history.pair.0.history_title %}
|
||||||
|
<span class="oh-history_task-state">{{history.pair.0.history_title}}</span>
|
||||||
|
{% endif %}
|
||||||
|
{% if history.pair.0.history_description %}
|
||||||
|
<p class="oh-history_time">{{history.pair.0.history_description}}</p>
|
||||||
|
{% endif %}
|
||||||
|
<div class="oh-history_tabs">
|
||||||
|
{% for tag in history.pair.0.history_tags.all %}
|
||||||
|
<a href="#" class="oh-history_msging-email oh-history_tabs-items">{{tag.title}}</a>
|
||||||
|
{% endfor %}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="oh-history_msg-container">
|
||||||
|
<div class="oh-history_task-tracker">
|
||||||
|
<span class="oh-history_msging-email">{{history.type}}</span>
|
||||||
|
<ul class="ul">
|
||||||
|
{% for change in history.changes %}
|
||||||
|
<li class="oh-history_task-list">
|
||||||
|
<div class="oh-history_track-value">
|
||||||
|
<span>{{history.pair.1|fk_history:change}}</span>
|
||||||
|
<img src="{% static '/images/ui/arrow-right-line.svg' %}" class="oh-progress_arrow"
|
||||||
|
alt="" />
|
||||||
|
<span class="oh-history_tracking-value">{{history.pair.0|fk_history:change}}</span>
|
||||||
|
<span class="oh-history-task-state"><i>({{change.field}})</i></span>
|
||||||
|
</div>
|
||||||
|
</li>
|
||||||
|
{% endfor %}
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
{% endfor %}
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
{% endfor %}
|
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user