mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-07-12 20:06:13 +00:00
25 lines
846 B
Twig
25 lines
846 B
Twig
<div>
|
|
<h3 class="single-line">
|
|
{{ period.closingDate|format_date('long') }}
|
|
<span class="person"> / </span>
|
|
{{ 'An accompanying period ends'|trans }}
|
|
{% if 'person' != context %}
|
|
{% for p in period.persons %}
|
|
/ {{ p|chill_entity_render_box({'addLink': true}) }}
|
|
{% endfor %}
|
|
{% endif %}
|
|
</h3>
|
|
|
|
<div class="statement">
|
|
<dl class="chill_view_data">
|
|
<dd>{{ 'Participants'|trans }} :</dd>
|
|
<dt>
|
|
<ul>
|
|
{% for p in period.participations %}
|
|
<li>{{ p.person|chill_entity_render_box({ 'addLink': true }) }}: {{ 'since %date%'|trans({'%date%': p.startDate|format_date("long") } ) }}, {{ 'until %date%'|trans({'%date%': (p.endDate is not null ? p.endDate : period.closingDate)|format_date("long") }) }}</li>
|
|
{% endfor %}
|
|
</ul>
|
|
</dt>
|
|
</div>
|
|
</div>
|