switching to new syntax

This commit is contained in:
Lucas Silva
2023-03-30 14:31:02 +02:00
parent afb25276ee
commit d8d517017d
6 changed files with 15 additions and 11 deletions

View File

@@ -6,10 +6,9 @@
{% endmacro %}
{% if period is not null %}
{{ dump(period) }}
<div class="flex-table">
{% if is_granted('CHILL_PERSON_ACCOMPANYING_PERIOD_SEE', period) %}
{% include 'ChillPersonBundle:AccompanyingPeriod:_list_item.html.twig' with {
{% include "@ChillPerson/AccompanyingPeriod/_list_item.html.twig" with {
'recordAction': _self.recordAction(notification.relatedEntityId),
'itemBlocClass': 'bg-chill-llight-gray'
} %}