{% set user_id = null %} {% if user %} {% set user_id = user.id %} {% endif %} {% set accompanying_course_id = null %} {% if accompanyingCourse %} {% set accompanying_course_id = accompanyingCourse.id %} {% endif %}
{{ "There is no calendar items."|trans }}
{% else %}{{ calendar.endDate.diff(calendar.startDate)|date("%H:%M")}}