diff --git a/CHANGELOG.md b/CHANGELOG.md index 27d5e0bf1..aa4a68efe 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,7 @@ and this project adheres to [activity] correct associated persons by considering only open participations (https://gitlab.com/champs-libres/departement-de-la-vendee/accent-suivi-developpement/-/issues/476) +* [person_resources]: Renderboxes used to display person/thirdparty info (https://gitlab.com/champs-libres/departement-de-la-vendee/accent-suivi-developpement/-/issues/465) ## Test releases diff --git a/src/Bundle/ChillPersonBundle/Resources/views/Entity/person.html.twig b/src/Bundle/ChillPersonBundle/Resources/views/Entity/person.html.twig index 9bee504a9..02fc00e4c 100644 --- a/src/Bundle/ChillPersonBundle/Resources/views/Entity/person.html.twig +++ b/src/Bundle/ChillPersonBundle/Resources/views/Entity/person.html.twig @@ -172,7 +172,7 @@ {%- if options['customButtons']['replace'] is defined -%} {{ options['customButtons']['replace'] }} - {%- elseif is_granted('CHILL_PERSON_SEE', person) -%} + {%- elseif is_granted('CHILL_PERSON_SEE', person) and options['addLink'] -%}