mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-07-04 07:56:12 +00:00
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:
commit
65dde1e6a0
6
.changes/unreleased/Fixed-20250604-165550.yaml
Normal file
6
.changes/unreleased/Fixed-20250604-165550.yaml
Normal file
@ -0,0 +1,6 @@
|
||||
kind: Fixed
|
||||
body: Display the list of participant in the results, even if there is only one participant and that the search result display the requestor
|
||||
time: 2025-06-04T16:55:50.107852336+02:00
|
||||
custom:
|
||||
Issue: "390"
|
||||
SchemaChange: No schema change
|
@ -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">
|
||||
|
@ -13,6 +13,14 @@ Requestor: >-
|
||||
neutral {Demandeur·euse}
|
||||
}
|
||||
|
||||
accompanying_period:
|
||||
Participants_without_count: >-
|
||||
{count, plural,
|
||||
=0 {Participant}
|
||||
=1 {Participant}
|
||||
other {Participants}
|
||||
}
|
||||
|
||||
person:
|
||||
from_the: depuis le
|
||||
And himself: >-
|
||||
|
@ -208,7 +208,7 @@ Pediod closing form is not valid: Le formulaire n'est pas valide
|
||||
Accompanying user: Accompagnant
|
||||
No accompanying user: Aucun accompagnant
|
||||
No data given: Pas d'information
|
||||
Participants: Usagers impliquées
|
||||
Participants: Usagers impliqués
|
||||
Create an accompanying course: Créer un parcours
|
||||
Accompanying courses of users: Parcours des utilisateurs
|
||||
This accompanying course is still a draft: Ce parcours est encore à l'état brouillon.
|
||||
|
Loading…
x
Reference in New Issue
Block a user