mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 23:23:51 +00:00
switching to new syntax
This commit is contained in:
@@ -5,13 +5,18 @@
|
||||
</li>
|
||||
{% endmacro %}
|
||||
{% if document is not null %}
|
||||
|
||||
<div class="flex-table">
|
||||
{% if is_granted('CHILL_MAIN_ACCOMPANYING_PERIOD_WORK_EVALUATION_DOCUMENT_SHOW', document) %}
|
||||
{% include 'ChillPersonBundle:AccompanyingCourseWork:_objectifs_results_evaluations.html.twig' with {
|
||||
'w': document.accompanyingPeriodWorkEvaluation.accompanyingPeriodWork,
|
||||
'd': document.storedObject,
|
||||
'displayContent': 'long',
|
||||
} %}
|
||||
<div class="item-bloc">
|
||||
{% include '@ChillPerson/AccompanyingCourseWork/_objectifs_results_evaluations.html.twig' with {
|
||||
'w': document.accompanyingPeriodWorkEvaluation.accompanyingPeriodWork,
|
||||
'd': document.storedObject,
|
||||
'displayContent': 'short',
|
||||
'recordAction': _self.recordAction(document)
|
||||
} %}
|
||||
</div>
|
||||
|
||||
{% else %}
|
||||
<div class="alert alert-warning border-warning border-1">
|
||||
{{ 'This is the minimal period details'|trans ~ ': ' ~ document.id }}<br>
|
||||
|
@@ -7,7 +7,7 @@
|
||||
{% if work is not null %}
|
||||
<div class="flex-table">
|
||||
{% if is_granted('CHILL_MAIN_ACCOMPANYING_PERIOD_WORK_SEE', work) %}
|
||||
{% include 'ChillPersonBundle:AccompanyingCourseWork:_item.html.twig' with {
|
||||
{% include "@ChillPerson/AccompanyingCourseWork/_item.html.twig" with {
|
||||
'itemBlocClass': 'bg-chill-llight-gray',
|
||||
'displayAction': true,
|
||||
'displayContent': 'short',
|
||||
|
Reference in New Issue
Block a user