combo/combo/apps/family/templates/family/person.html

16 lines
729 B
HTML

{% load i18n %}
<p class="name"><span>{{ person.first_name }} {{ person.last_name }}</span></p>
<p class="birthdate">
<span>{% trans "Born on" %}</span> {{ person.birthdate }}
</p>
<h4>{% trans "Address" %}</h4>
<p class="address"><span>{% trans "Address:" %}</span> {{ person.address }}</p>
{% if person.phone or person.cellphone or person.email %}
<h4>{% trans "Contact" %}</h4>
{% if person.phone %}<p class='phone'><span>{% trans "Phone:" %}</span> {{ person.phone }}</p>{% endif %}
{% if person.cellphone %}<p class='cellphone'><span>{% trans "Cellphone:" %}</span> {{ person.cellphone }}</p>{% endif %}
{% if person.email %}<p class='email'><span>{% trans "Email:" %}</span> {{ person.email }}</p>{% endif %}
{% endif %}