{% for p in evaluation.accompanyingPeriodWork.persons %}
{% include '@ChillMain/OnTheFly/_insert_vue_onthefly.html.twig' with {
targetEntity: { name: 'person', id: p.id },
action: 'show',
displayBadge: true,
buttonText: p|chill_entity_render_string,
isDead: p.deathdate is not null
} %}
{% endfor %}
{% endif %}
{% if evaluation.warningInterval and evaluation.warningInterval.d > 0 %}
{% set days = (evaluation.warningInterval.d + evaluation.warningInterval.m * 30) %}
{{ 'accompanying_course_work.warning_interval'|trans ~ ' : ' }}
{{ 'accompanying_course_work.%days% days before max_date'|trans({'%days%': days }) }}
{% endif %}
{% if evaluation.createdBy is not null %}
créé par{{ evaluation.createdBy|chill_entity_render_string({'at_date': evaluation.createdAt}) }}
{% endif %}
{% if evaluation.createdAt is not null %}
{{ 'le'|trans }}{{ evaluation.createdAt|format_date('short') }}
{% endif %}
{% if evaluation.comment %}
{{ evaluation.comment }}
{% endif %}
{% else %}
{{ 'This is the minimal period details'|trans ~ ': ' ~ document.id }}
{{ 'You are getting a notification for a period you are not allowed to see'|trans }}
{% endif %}
{% else %}
{{ 'You are getting a notification for a period which does not exists any more'|trans }}