Fixes for work rendering without "onlyone" parameter

This commit is contained in:
Julien Fastré 2023-06-13 22:58:08 +02:00
parent 53aa887da5
commit cb4de1f3d2
Signed by: julienfastre
GPG Key ID: BDE2190974723FCB

View File

@ -65,7 +65,7 @@
</th>
</thead>
<tbody>
{% if onlyone %}
{% if onlyone|default(false) %}
{% for e in w.accompanyingPeriodWorkEvaluations %}
{% if evalId is defined and evalId == e.id %}
<tr>
@ -275,7 +275,7 @@
'entityClass': 'Chill\\PersonBundle\\Entity\\AccompanyingPeriod\\AccompanyingPeriodWorkEvaluationDocument',
'entityId': d.id }) }}"></a>
{% endif %}
{{ d.storedObject|chill_document_button_group(d.title, is_granted('CHILL_MAIN_ACCOMPANYING_PERIOD_WORK_UPDATE', w), {'small': true}) }}
</td>
</tr>