fix rendering for timeline entries in center context

This commit is contained in:
2021-05-26 18:10:51 +02:00
parent cad8174333
commit 25c986cc61
3 changed files with 11 additions and 1 deletions

View File

@@ -3,6 +3,11 @@
{{ 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">

View File

@@ -3,6 +3,11 @@
{{ period.openingDate|format_date('long') }}
<span class="person"> / </span>
{{ 'An accompanying period starts'|trans }}
{% if 'person' != context %}
{% for p in period.persons %}
/ {{ p|chill_entity_render_box({'addLink': true}) }}
{% endfor %}
{% endif %}
</h3>
<div class="statement">