{% extends "attendance/admin/_layout.html" %} {% block admin %} {% if results %}
{% for person, created, busy, calendar_error in results %}
{{ person.name }}: {% t "Created" %} {{ created }}{% if busy %} · {% t "Skipped" %} ({% t "already has a leave" %}): {% for s in busy %}{{ s.day|date:"d/m" }}{% if not forloop.last %}, {% endif %}{% endfor %}{% endif %}{% if calendar_error %} · {% t "Calendar event not created" %}: {{ calendar_error }}{% endif %}
{% endfor %}
{% endif %}
{% csrf_token %}
{% include "attendance/admin/_people_picker.html" %}
{% endblock %}