{% extends host_template %} {% load comments i18n fb_versions cyclope_utils markup dbgettext_tags%} {% block content %} {% alias contact as 'current_object' %} {% if CYCLOPE_THEME_TYPE == 'bootstrap' %}
{% if contact.photo %}
{% endif %}

{{contact}}

{% include 'cyclope/content_tools_block.html' %} {# TODO: sanhoerth - here in p tag insert description when implemented is ready #}
{% include 'collections/categories_navigation_block.html' %}
{% if contact.tags %}
{% trans "Tags" %} {{ contact.tags }}
{% endif %} {% if current_object.notes %}
{{ current_object.notes|smart_style }}
{% endif %} {% if current_object.origin %}
{{ current_object.origin }}
{% endif %}

{% trans "General information" %}

{% trans "Given name" %}

{{contact.given_name}}

{% trans "Surname" %}

{{contact.surname}}

{% trans "Birth date" %}

{{contact.birth_date|default:""}}

{% trans "Gender" %}

{{contact.get_gender_display}}

{% if contact.email %}

{% trans "Email" %}

{{contact.email}}

{% endif %}
{% if contact.contactaddress_set.all %} {% for address in contact.contactaddress_set.all %}

{{address.get_type_display}}

{% trans "Address" %}:

{{address}}

{% trans "Post Office Box" %}:

{{address.post_office_box}}

{% trans "Phone Number" %}:

{{address.phone_number}}

{% endfor %} {% endif %} {% if contact.has_profile %}
{% with contact.get_profile as profile %} {% include CYCLOPE_CONTACTS_PROFILE_TEMPLATE %} {% endwith %}
{% endif %}
{% if contact.email %} {% trans "Send mail" %} {% endif %} {% trans "Last update" %}: {{contact.modification_date}}
{% elif CYCLOPE_THEME_TYPE == 'classic' %}

{{contact}}

{% if contact.photo %} {% endif %}
{% trans "Given name" %}: {{contact.given_name}}
{% trans "Surname" %}: {{contact.surname}}
{% trans "Birth date" %}: {{contact.birth_date|default:""}}
{% trans "Gender" %}: {{contact.get_gender_display}}
{% trans "Email" %}: {{contact.email}}
{% trans "Web" %}: {{contact.web}}
{% trans "Mobile" %}: {{contact.mobile_phone_number}}
{% if contact.contactaddress_set.all %}
{% for address in contact.contactaddress_set.all %}
{{address.get_type_display}}
{% trans "Address" %}:
{{address}}
{% trans "Post Office Box" %}:
{{address.post_office_box}}
{% trans "Phone Number" %}:
{{address.phone_number}}
{% endfor %}
{% endif %}
{% if contact.has_profile %} {% with contact.get_profile as profile %} {% include CYCLOPE_CONTACTS_PROFILE_TEMPLATE %} {% endwith %} {% endif %}
{% if contact.tags %}
{% trans "Tags" %} {{ contact.tags }}
{% endif %}
{% trans "Last update" %}: {{contact.modification_date}}
{% include 'collections/categories_navigation_block.html' %}
{% endif %} {% endblock content%}