{% load static %}{% load i18n %}
{% trans "Attendance Batches" %}
{% if batches %}
{% trans "Batch" %}
{% trans "No of Attendances" %}
{% if perms.attendance.delete_batchattendance %}
{% trans "Action" %}
{% endif %}
{% for batch in batches %}
{% if batch.created_by == request.user or perms.attendance.change_attendancegeneralsetting %} {% else %} {{batch.title}} {% endif %}
{{batch.attendance_set.all.count}}
{% if perms.attendance.delete_batchattendance %}
{% endif %}
{% endfor %}
{% else %}

{% trans "There are no batches at the moment." %}

{% endif %}