[UPDT] LEAVE: Added No limit for leave types in my leave request and leave tab in profile
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
hx-get="{% url 'type-filter' %}"
|
||||
hx-target="#leaveTypes"
|
||||
></span>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% if leave_type and request.GET.instances_ids and not compensatory %}
|
||||
<div class="oh-modal__dialog oh-modal__dialog--navigation m-0 p-0">
|
||||
<button
|
||||
@@ -88,7 +88,7 @@
|
||||
>{% trans "Total Days" %}</span
|
||||
>
|
||||
<span class="oh-timeoff-modal__stat-count"
|
||||
>{{leave_type.count}}</span
|
||||
>{% if leave_type.limit_leave %}{{leave_type.count}}{% else %}{% trans "No Limit" %}{% endif %}</span
|
||||
>
|
||||
</div>
|
||||
<div class="oh-timeoff-modal__stat">
|
||||
|
||||
@@ -68,7 +68,7 @@
|
||||
>{% trans "Total Days" %}</span
|
||||
>
|
||||
<span class="oh-timeoff-modal__stat-title"
|
||||
>{{leave_type.count}}</span
|
||||
>{% if leave_type.limit_leave %}{{leave_type.count}}{% else %}{% trans "No Limit" %}{% endif %}</span
|
||||
>
|
||||
</div>
|
||||
</div>
|
||||
@@ -133,7 +133,7 @@
|
||||
</div>
|
||||
<div class="oh-pagination">
|
||||
<span class="oh-pagination__page">
|
||||
{% trans "Page" %} {{ leave_types.number }}
|
||||
{% trans "Page" %} {{ leave_types.number }}
|
||||
{% trans "of" %} {{ leave_types.paginator.num_pages }}.
|
||||
</span>
|
||||
<nav class="oh-pagination__nav">
|
||||
|
||||
Reference in New Issue
Block a user