{% if d.holiday %}
{{ d.holiday }}
{% endif %}
{% if d.checks %}
{% for c in d.checks %}{{ c.time|date:"H:i" }}{% endfor %}
{% endif %}
{% for lv in d.leaves %}{% with c=classes|get_item:lv.class_id %}
{{ c.name|default:lv.class_id }}{% endwith %}{% endfor %}
{% if d.planned_minutes or d.worked_minutes %}
{{ d.worked_minutes|hm }}
{% endif %}
{% if d.is_extra_day %}
{{ d.extra_minutes|hm }}
{% endif %}
{% if d.has_issue %}
{% endif %}