{% extends 'index.html' %} {% load static %} {% load i18n %} {% block content %} {% load tz %} {% now "Y-m-d" as current_date %}
{% trans "Back" %}
{% trans "Requests to Approve" %}
{{requested|length}}
{% trans "Approved Leaves In This Month" %}
{{approved|length}}
{% trans "Rejected Leaves In This Month" %}
{{rejected|length}}
{% trans "Employee Leaves" %}
{% trans "On Leave" %}
{% trans "Next Holiday" %} {{next_holiday.name}} {{next_holiday.start_date}}
{% trans "Upcoming holidays" %}
{% trans "Department Leaves" %}
{% if current_date == next_holiday.start_date|date:"Y-m-d" %}

{% trans "Today is a holiday." %}

{% else %}
{% endif %}
{% trans "Leave Type - Count of leaves" %}
{% trans "Weekly Leave Analytics" %}
{% endblock %}