[UPDT] HORILLA VIEWS: Custom detailed cell

This commit is contained in:
Horilla
2024-07-29 16:56:52 +05:30
parent 938fbb867c
commit 621c2a53ba

View File

@@ -48,13 +48,13 @@
</div>
<div class="oh-timeoff-modal__profile-info">
<span class="oh-timeoff-modal__user fw-bold">
{{object|getattribute:header.title}}
{{object|getattribute:header.title|selected_format:request.user.employee_get.employee_work_info.company_id}}
</span>
<span
class="oh-timeoff-modal__user m-0"
style="font-size: 18px; color: #4d4a4a"
>
{{object|getattribute:header.subtitle}}</span
{{object|getattribute:header.subtitle|selected_format:request.user.employee_get.employee_work_info.company_id}}</span
>
</div>
</div>
@@ -67,12 +67,16 @@
<div class="row">
{% for col in body %}
<div class="col-6 mt-3">
{% if not col.2 %}
<div class="oh-timeoff-modal__stat">
<span class="oh-timeoff-modal__stat-title">{{col.0}}</span>
<span class="oh-timeoff-modal__stat-count"
>{{object|getattribute:col.1|safe}}</span
>{{object|getattribute:col.1|selected_format:request.user.employee_get.employee_work_info.company_id|safe}}</span
>
</div>
{% else %}
{{object|getattribute:col.1|safe}}
{% endif %}
</div>
{% endfor %}
</div>