diff --git a/src/Bundle/ChillActivityBundle/Resources/views/Activity/_list_item.html.twig b/src/Bundle/ChillActivityBundle/Resources/views/Activity/_list_item.html.twig index 7b46ffb67..60132e1d0 100644 --- a/src/Bundle/ChillActivityBundle/Resources/views/Activity/_list_item.html.twig +++ b/src/Bundle/ChillActivityBundle/Resources/views/Activity/_list_item.html.twig @@ -66,7 +66,7 @@ {% include 'ChillActivityBundle:Activity:concernedGroups.html.twig' with { 'context': context, - 'with_display': 'wrap-list', + 'render': 'wrap-list', 'entity': activity, 'badge_person': true } %} diff --git a/src/Bundle/ChillActivityBundle/Resources/views/Activity/concernedGroups.html.twig b/src/Bundle/ChillActivityBundle/Resources/views/Activity/concernedGroups.html.twig index d6d0ed43d..70280d714 100644 --- a/src/Bundle/ChillActivityBundle/Resources/views/Activity/concernedGroups.html.twig +++ b/src/Bundle/ChillActivityBundle/Resources/views/Activity/concernedGroups.html.twig @@ -3,11 +3,12 @@ {{ path(pathname, parms) }} {% endmacro %} -{% macro insert_onthefly(type, entity) %} +{% macro insert_onthefly(type, entity, parent = null) %} {% include '@ChillMain/OnTheFly/_insert_vue_onthefly.html.twig' with { action: 'show', displayBadge: true, targetEntity: { name: type, id: entity.id }, - buttonText: entity|chill_entity_render_string + buttonText: entity|chill_entity_render_string, + parent: parent } %} {% endmacro %} @@ -59,7 +60,7 @@ }]) %} {% endif %} -{% if (with_display == 'bloc') %} +{% if (render == 'bloc') %}