Merge branch '390-fix-search-results' into 'master'

Fix participant condition in list_with_period.html.twig

Closes #390

See merge request Chill-Projet/chill-bundles!832
This commit is contained in:
2025-07-02 10:59:17 +00:00
4 changed files with 17 additions and 3 deletions

View File

@@ -96,11 +96,11 @@
</div>
{% endif %}
{% if acp.currentParticipations|length > 1 %}
{% if acp.currentParticipations|length > 1 or (acp.currentParticipations|first).person is not same as person %}
<div class="wl-row">
<div class="wl-col title">
<h3 class="participants">
{{ 'Participants'|trans }}
{{ 'accompanying_period.Participants_without_count'|trans({count: acp.currentParticipations|length}) }}
</h3>
</div>
<div class="wl-col list">