| Server IP : 65.108.144.40 / Your IP : 216.73.217.165 Web Server : Apache/2.4.52 (Ubuntu) System : Linux ubuntu-8gb-hel1-1 5.15.0-173-generic #183-Ubuntu SMP Fri Mar 6 13:29:34 UTC 2026 x86_64 User : dev ( 1000) PHP Version : 8.2.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/erp/employee/templates/tabs/ |
Upload File : |
{% load static %} {% load i18n %}
{% load audit_filters %}
<div class="row">
{% if employee.employee_work_info.tracking %}
{% for history in employee.employee_work_info.tracking %}
<div class="oh-history__container">
<div class="oh-history_date oh-card__title oh-card__title--sm fw-bold me-2">
<span class="oh-history_date-content">
<span class="dateformat_changer">{{ history.pair.1.history_date|date:"M. d, Y" }}</span> , 
<span class="timeformat_changer">{{ history.pair.1.history_date|date:"g:i A" }}</span>
</span>
</div>
<div class="d-flex">
<div class="oh-history_user-img">
<img
src="{{history.updated_by.get_avatar}}"
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>
</li>
{% endfor %}
</ul>
</div>
</div>
</div>
</div>
</div>
{% endfor %}
{% else %}
<div
class="d-flex justify-content-center align-items-center"
style="height: 40vh"
>
<h5 class="oh-404__subtitle">{% trans "No history found." %}</h5>
</div>
{% endif %}
</div>