person badge changed to include onTheFly + changelog updated

This commit is contained in:
Julie Lenaerts 2022-03-07 14:36:44 +01:00
parent efbd9b0185
commit 388b666b5d
2 changed files with 7 additions and 1 deletions

View File

@ -33,6 +33,7 @@ and this project adheres to
* [parcours] location cannot be removed if linked to a user (https://gitlab.com/champs-libres/departement-de-la-vendee/chill/-/issues/478) * [parcours] location cannot be removed if linked to a user (https://gitlab.com/champs-libres/departement-de-la-vendee/chill/-/issues/478)
* [person] email added to twig personRenderbox (https://gitlab.com/champs-libres/departement-de-la-vendee/chill/-/issues/490) * [person] email added to twig personRenderbox (https://gitlab.com/champs-libres/departement-de-la-vendee/chill/-/issues/490)
* [person] Add link to current household in person banner (https://gitlab.com/champs-libres/departement-de-la-vendee/chill/-/issues/484) * [person] Add link to current household in person banner (https://gitlab.com/champs-libres/departement-de-la-vendee/chill/-/issues/484)
* [address] person badge in address history changed to open OnTheFly with all person info (https://gitlab.com/champs-libres/departement-de-la-vendee/chill/-/issues/489)
## Test releases ## Test releases

View File

@ -49,7 +49,12 @@
<li> <li>
<i class="fa fa-li fa-home"></i> <i class="fa fa-li fa-home"></i>
<span class="item-key">{{ "Address of"|trans}} </span> <span class="item-key">{{ "Address of"|trans}} </span>
<span class="chill-entity entity-person badge-person">{{ a.hostPerson|chill_entity_render_box }}</span> {% include '@ChillMain/OnTheFly/_insert_vue_onthefly.html.twig' with {
action: 'show', displayBadge: true,
targetEntity: { name: 'person', id: a.hostPerson.id },
buttonText: a.hostPerson|chill_entity_render_string,
isDead: a.hostPerson.deathdate is not null
} %}
</li> </li>
<li> <li>
{% set address_date = date(a.startDate|date("m/d/Y")) %} {% set address_date = date(a.startDate|date("m/d/Y")) %}