mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
fix rendering for timeline entries in center context
This commit is contained in:
parent
cad8174333
commit
25c986cc61
@ -1,7 +1,7 @@
|
||||
{% import 'ChillActivityBundle:ActivityReason:macro.html.twig' as m %}
|
||||
|
||||
<div>
|
||||
<h3>{% if 'person' != context %}{{ activity.person|chill_entity_render_box({'addLink': true}) }} / {% endif %}{{ activity.date|format_date('long') }}<span class="activity"> / {{ 'Activity'|trans }}</span></h3>
|
||||
<h3>{{ activity.date|format_date('long') }}<span class="activity"> / {{ 'Activity'|trans }}</span>{% if 'person' != context %} / {{ activity.person|chill_entity_render_box({'addLink': true}) }}{% endif %}</h3>
|
||||
<div class="statement">
|
||||
<span class="statement">{{ '%user% has done an %activity_type%'|trans(
|
||||
{
|
||||
|
@ -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">
|
||||
|
@ -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">
|
||||
|
Loading…
x
Reference in New Issue
Block a user