{% load static %} {% load i18n %} {% load audit_filters %}
{% if employee.employee_work_info.tracking %} {% for history in employee.employee_work_info.tracking %}
{{ history.pair.1.history_date|date:"Y-m-d" }} , {{ 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}})
{% endfor %}

{% endfor %} {% else %}

##### {% trans "No history found." %}

{% endif %}