{{ "Activity"|trans }}
- {{ 'User'|trans }}
- {{ entity.user }}
{%- if entity.scope -%}
- {{ 'Scope'|trans }}
- {{ entity.scope.name|localize_translatable_string }}
{% endif %}
{{ 'Activity data'|trans }}
{%- if entity.person is defined -%}
- {{ 'Person'|trans }}
- {{ entity.person }}
{% endif %}
- {{ 'Date'|trans }}
- {{ entity.date|format_date('long') }}
- {{ 'Duration Time'|trans }}
- {{ entity.durationTime|date('H:i') }}
- {{ 'Type'|trans }}
- {{ entity.type.name | localize_translatable_string }}
- {{ 'Attendee'|trans }}
- {% if entity.attendee is not null %}{% if entity.attendee %}{{ 'present'|trans|capitalize }} {% else %} {{ 'not present'|trans|capitalize }}{% endif %}{% else %}{{ 'None'|trans|capitalize }}{% endif %}
- {{ 'Reasons'|trans }}
{%- if entity.reasons is empty -%}
- {{ 'No reason associated'|trans }}
{%- else -%}
- {% for r in entity.reasons %}{{ r|chill_entity_render_box }} {% endfor %}
{%- endif -%}
- {{ 'Comment'|trans }}
{%- if entity.comment is empty -%}
- {{ 'No comment associated'|trans }}
{%- else -%}
- {{ entity.comment|chill_entity_render_box }}
{%- endif -%}
{% set person_id = null %}
{% if person %}
{% set person_id = person.id %}
{% endif %}
{% set accompanying_course_id = null %}
{% if accompanyingCourse %}
{% set accompanying_course_id = accompanyingCourse.id %}
{% endif %}