37 lines
961 B
HTML
37 lines
961 B
HTML
{% load i18n %}
|
|
<p class="name"><span>{{ person.first_name }} {{ person.last_name }}</span></p>
|
|
{% if person.birthdate %}
|
|
<p class="birthdate">
|
|
<span class="label">{% trans "Born on" %}</span>
|
|
<span class="value">{{ person.birthdate }}</span>
|
|
</p>
|
|
{% endif %}
|
|
|
|
<div class="address">
|
|
<h4>{% trans "Address" %}</h4>
|
|
<p>{{ person.address }}</p>
|
|
</div>
|
|
|
|
{% if person.phone or person.cellphone or person.email %}
|
|
<div class="contact">
|
|
{% if person.phone %}
|
|
<p class="phone">
|
|
<span class="label">{% trans "Phone:" %}</span>
|
|
<span class="value">{{ person.phone }}</span>
|
|
</p>
|
|
{% endif %}
|
|
{% if person.cellphone %}
|
|
<p class="cellphone">
|
|
<span class="label">{% trans "Cellphone:" %}</span>
|
|
<span class="value">{{ person.cellphone }}</span>
|
|
</p>
|
|
{% endif %}
|
|
{% if person.email %}
|
|
<p class="email">
|
|
<span class="label">{% trans "Email:" %}</span>
|
|
<span class="value"{{ person.email }}</span>
|
|
</p>
|
|
{% endif %}
|
|
</div>
|
|
{% endif %}
|