mirror of
				https://gitlab.com/Chill-Projet/chill-bundles.git
				synced 2025-11-04 03:08:25 +00:00 
			
		
		
		
	[person box] respect "demi-quadratin" in birthdate-deathdate separation
This commit is contained in:
		@@ -61,16 +61,13 @@
 | 
			
		||||
 | 
			
		||||
            {%- if person.deathdate is not null -%}
 | 
			
		||||
                {%- if person.birthdate is not null -%}
 | 
			
		||||
                    <time datetime="{{ person.birthdate|date('Y-m-d') }}" title="{{ 'birthdate'|trans|e('html_attr') }}">
 | 
			
		||||
                    {{ person.birthdate|format_date("medium") }}
 | 
			
		||||
                    </time>
 | 
			
		||||
                    -
 | 
			
		||||
                    {# must be on one line to avoid spaces with dash #}
 | 
			
		||||
                    <time datetime="{{ person.birthdate|date('Y-m-d') }}" title="{{ 'birthdate'|trans|e('html_attr') }}">{{ person.birthdate|format_date("medium") }}</time>–
 | 
			
		||||
                {%- else -%}
 | 
			
		||||
                    {{ 'Date of death'|trans }}:
 | 
			
		||||
                {%- endif -%}
 | 
			
		||||
                <time datetime="{{ person.deathdate|date('Y-m-d') }}" title="{{ 'Deathdate'|trans }}">
 | 
			
		||||
                    {{ person.deathdate|format_date("medium") }}
 | 
			
		||||
                </time>
 | 
			
		||||
                {#- 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>
 | 
			
		||||
                {% if options['addAge'] %}
 | 
			
		||||
                    <span class="age">
 | 
			
		||||
                        ({{ 'years_old'|trans({ 'age': person.age }) }})
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user