mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
space added between deathdate and age + changelog updated
This commit is contained in:
parent
2ad798c0bf
commit
59b2b07a21
@ -19,6 +19,7 @@ and this project adheres to
|
|||||||
* [accompanying period work] remove the possibility to generate document from an accompanying period work
|
* [accompanying period work] remove the possibility to generate document from an accompanying period work
|
||||||
* vuejs: add validation on required fields for AddPerson, Address and Location components
|
* vuejs: add validation on required fields for AddPerson, Address and Location components
|
||||||
* vuejs: treat 422 validation errors in locations and AddPerson components
|
* vuejs: treat 422 validation errors in locations and AddPerson components
|
||||||
|
* [person]: space added between deathdate and age in twig renderbox (https://gitlab.com/champs-libres/departement-de-la-vendee/chill/-/issues/380)
|
||||||
|
|
||||||
## Test releases
|
## Test releases
|
||||||
|
|
||||||
|
@ -90,7 +90,7 @@
|
|||||||
{#- must be on one line to avoid spaces with dash -#}
|
{#- must be on one line to avoid spaces with dash -#}
|
||||||
<time datetime="{{ person.deathdate|date('Y-m-d') }}" title="{{ 'deathdate'|trans }}">{{ person.deathdate|format_date("medium") }}</time>
|
<time datetime="{{ person.deathdate|date('Y-m-d') }}" title="{{ 'deathdate'|trans }}">{{ person.deathdate|format_date("medium") }}</time>
|
||||||
{%- if options['addAge'] -%}
|
{%- if options['addAge'] -%}
|
||||||
<span class="age">{{ 'years_old'|trans({ 'age': person.age }) }}</span>
|
<span class="age"> {{ 'years_old'|trans({ 'age': person.age }) }}</span>
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
{%- elseif person.birthdate is not null -%}
|
{%- elseif person.birthdate is not null -%}
|
||||||
<time datetime="{{ person.birthdate|date('Y-m-d') }}" title="{{ 'Birthdate'|trans }}">
|
<time datetime="{{ person.birthdate|date('Y-m-d') }}" title="{{ 'Birthdate'|trans }}">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user