{% macro personne_lien_tip(personne) -%} {{ personne.libelle_affiche }} {{ personne.titre_affiche }}
{% if personne.nom %}
Nom
{{ personne.nom }}
{% endif %} {% if personne.prenom %}
Prénom
{{ personne.prenom }}
{% endif %} {% if personne.raison_sociale %}
Raison sociale
{{ personne.raison_sociale }}
{% endif %} {% if personne.telephones %}
Téléphone{% if personne.telephones|length > 1 %}s{% endif %}
{% for t in personne.telephones %} {% if t.libelle %}{{ t.libelle }} {% endif %}{{ t.numero | format_tel }} {% endfor %}
{% endif %} {% if personne.emails %}
Email{% if personne.emails|length > 1 %}s{% endif %}
{% for e in personne.emails %} {% if e.libelle %}{{ e.libelle }} {% endif %}{{ e.adresse }} {% endfor %}
{% endif %}
{% if not personne.telephones and not personne.emails %}

Aucun téléphone ni email.

{% endif %}
{%- endmacro %}