{{ "Calendar"|trans }}
- {{ 'main user concerned'|trans }}
- {{ entity.mainUser }}
{{ 'Concerned groups'|trans }}
{% include 'ChillActivityBundle:Activity:concernedGroups.html.twig' with {'context': context, 'with_display': 'bloc' } %}
{{ 'Calendar data'|trans }}
{% if entity.endDate.diff(entity.startDate).days >= 1 %}
{{ "From the day"|trans }} {{ entity.startDate|format_datetime('medium', 'short') }}
{{ "to the day"|trans }} {{ entity.endDate|format_datetime('medium', 'short') }}
{% else %}
{{ entity.startDate|format_date('full') }},
{{ entity.startDate|format_datetime('none', 'short', locale='fr') }} - {{ entity.endDate|format_datetime('none', 'short', locale='fr') }}
{% endif %}
{{ 'cancel reason'|trans }}
{% if entity.cancelReason is not null %}
{{ entity.cancelReason.canceledBy|localize_translatable_string }}
{% else %}
{{ 'Unknown'|trans }}
{% endif %}
{{ 'status'|trans }}
{{ entity.status }}
{% if not entity.comment.isEmpty %}
{{ 'calendar comment'|trans }}
{{ entity.comment|chill_entity_render_box }}
{% endif %}
{{ 'sendSMS'|trans }}
{% if entity.sendSMS is not null %}
{% if entity.sendSMS %}{{ 'Yes'|trans }}{% else %}{{ 'No'|trans }}{% endif %}
{% else %}
{{ 'Unknown'|trans }}
{% endif %}
{% set accompanying_course_id = null %}
{% if accompanyingCourse %}
{% set accompanying_course_id = accompanyingCourse.id %}
{% endif %}
{% set user_id = null %}
{% if user %}
{% set user_id = user.id %}
{% endif %}