{% load i18n %} {% if document_model == 'full' and lines_by_user_for_details %}

{% trans "Detail of service days" %}

{% for user, lines in lines_by_user_for_details %} {% for line in lines %} {% ifchanged line.activity_label %} {% if line.activity_label or not forloop.first %} {% endif %} {% endifchanged %} {% endfor %} {% endfor %}
{% with line=lines|first %}{{ line.user_name }}{% endwith %}
{% trans "Services" %} {% trans "Details" %}
{{ line.activity_label|default:" " }}
{{ line.label }} {% if not line.details.partial_bookings %} {% if line.details.check_type_label %} {{ line.details.check_type_label }} {% elif line.details.status == 'absence' %} {% trans "Absence" %} {% endif %} {% endif %} {{ line.description }}
{% endif %}