mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-13 13:54:23 +00:00
deathdate added if not null
This commit is contained in:
parent
7af85bc401
commit
eac4c48d8f
@ -44,8 +44,11 @@
|
||||
<!-- BIRTHDATE / DEATHDATE AND AGE -->
|
||||
<p v-if="this.options.addInfo == true" class="moreinfo">
|
||||
<i :class="'fa fa-fw ' + getGender" title="{{ getGender }}"></i>
|
||||
<time datetime="{{ person.birthdate }}" title="**birthdate**">
|
||||
Né le {{ birthdate }}
|
||||
<time v-if="person.birthdate" datetime="{{ person.birthdate }}" title="{{ birthdate }}">
|
||||
Birthday {{ birthdate }}
|
||||
</time>
|
||||
<time v-else-if="person.deathdate" datetime="{{ person.deathdate }}" title="{{ person.deathdate }}">
|
||||
{{ birthdate }} - {{ deathdate }}
|
||||
</time>
|
||||
<span class="age">{{ person.age }}</span>
|
||||
</p>
|
||||
|
Loading…
x
Reference in New Issue
Block a user