mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
fix template mistakes
This commit is contained in:
parent
1a05ffab96
commit
8945703785
@ -107,37 +107,35 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% if displayAction is defined and displayAction == true %}
|
{% if displayAction is defined and displayAction == true %}
|
||||||
<div class="item-col">
|
<ul class="item-col record_actions">
|
||||||
<ul class="record_actions">
|
{% set suppEvaluations = [] %}
|
||||||
{% set suppEvaluations = [] %}
|
{% for e in w.accompanyingPeriodWorkEvaluations %}
|
||||||
{% for e in w.accompanyingPeriodWorkEvaluations %}
|
{% set suppEvaluations = suppEvaluations|merge([
|
||||||
{% set suppEvaluations = suppEvaluations|merge([
|
{'relatedEntityClass': 'Chill\\PersonBundle\\Entity\\AccompanyingPeriod\\AccompanyingPeriodWorkEvaluation', 'relatedEntityId': e.id }
|
||||||
{'relatedEntityClass': 'Chill\\PersonBundle\\Entity\\AccompanyingPeriod\\AccompanyingPeriodWorkEvaluation', 'relatedEntityId': e.id }
|
]) %}
|
||||||
]) %}
|
|
||||||
|
|
||||||
{% for d in e.documents %}
|
{% for d in e.documents %}
|
||||||
{% set suppEvaluations = suppEvaluations|merge([
|
{% set suppEvaluations = suppEvaluations|merge([
|
||||||
{'relatedEntityClass': 'Chill\\PersonBundle\\Entity\\AccompanyingPeriod\\AccompanyingPeriodWorkEvaluationDocument', 'relatedEntityId': d.id }
|
{'relatedEntityClass': 'Chill\\PersonBundle\\Entity\\AccompanyingPeriod\\AccompanyingPeriodWorkEvaluationDocument', 'relatedEntityId': d.id }
|
||||||
]) %}
|
]) %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
<li>
|
<li>
|
||||||
{{ chill_entity_workflow_list(
|
{{ chill_entity_workflow_list(
|
||||||
'Chill\\PersonBundle\\Entity\\AccompanyingPeriod\\AccompanyingPeriodWork',
|
'Chill\\PersonBundle\\Entity\\AccompanyingPeriod\\AccompanyingPeriodWork',
|
||||||
w.id, [], suppEvaluations) }}
|
w.id, [], suppEvaluations) }}
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<a class="btn btn-edit" title="{{ 'Edit'|trans }}"
|
<a class="btn btn-edit" title="{{ 'Edit'|trans }}"
|
||||||
href="{{ chill_path_add_return_path('chill_person_accompanying_period_work_edit', { 'id': w.id }) }}"
|
href="{{ chill_path_add_return_path('chill_person_accompanying_period_work_edit', { 'id': w.id }) }}"
|
||||||
></a>
|
></a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<a class="btn btn-delete" title="{{ 'Delete'|trans }}"
|
<a class="btn btn-delete" title="{{ 'Delete'|trans }}"
|
||||||
href="{{ path('chill_person_accompanying_period_work_delete', { 'id': w.id } ) }}"
|
href="{{ path('chill_person_accompanying_period_work_delete', { 'id': w.id } ) }}"
|
||||||
></a>
|
></a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
{% block title 'Tasks for this accompanying period'|trans %}
|
{% block title 'Tasks for this accompanying period'|trans %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<div class="col-md-10 col-xxl">
|
<div class="task-list">
|
||||||
|
|
||||||
<h1>{{ block('title') }}</h1>
|
<h1>{{ block('title') }}</h1>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user