[FIX] EMPLOYEE: Fixed employee name issue in employee card

This commit is contained in:
Horilla
2024-08-02 16:14:52 +05:30
parent 974f6f6805
commit 6cef8ece55

View File

@@ -58,8 +58,8 @@
</div>
<div class="oh-kanban-card__details">
<span class="oh-kanban-card__title">{{emp}}</span>
<span class="oh-kanban-card__subtitle">{{emp.email}}</span><br>
<span class="oh-kanban-card__title" {% if emp.email|length >= 30 %}title = "{{emp}}" {% endif %}>{{emp|truncatechars:30}}</span>
<span class="oh-kanban-card__subtitle" {% if emp.email|length >= 35 %}title = "{{emp.email}}" {% endif %}>{{emp.email|truncatechars:35}}</span><br>
<span class="oh-kanban-card__subtitle">{{emp.employee_work_info.job_position_id}}</span>
<div class="oh-kanban-card__subtitle">
{% if emp.check_online %}