{# Card header #}
{% trans %}Identity{% endtrans %}
{% set clipboard_identity -%} # {% trans %}Identity{% endtrans +%} {% trans %}Name{% endtrans %}: {{ user.name_with_title or '-' }} {% trans %}Email{% endtrans %}: {{ ((user.email_alias or []) | join(", ") ) or '-' }} {% trans %}Language{% endtrans %}: {{ user.lang or '-' }} {% trans %}Phone{% endtrans %}: {{ ((user.phone or []) | join(", ") ) or '-' }} {{- '\n' }} {% trans %}Function{% endtrans %}: {{ user.title or '-' }} {% trans %}Location{% endtrans %}: {{ user.location or '-' }} {%- if user.location_office -%} , {% trans %}Room{% endtrans %} {{ user.location_office -}} {%- endif +%} {% trans %}Section{% endtrans %}: {{ user.section or '-' }} {% trans %}Departement{% endtrans %}: {{ user.departement or '-' }} {% endset %}
{# Card body #}
{{ gettext(
{% trans %}Name{% endtrans %}
{{ user.name_with_title }}
{% trans %}Email{% endtrans %}
{% for email in user.email_alias %} {% if not loop.first %}
{% endif %} {{ email }} {% else %} — {% endfor %}
{% trans %}Language{% endtrans %}
{% if user.lang %} {{ get_language_name(user.lang) }} {% else %} — {% endif %}
{% trans %}Phone{% endtrans %}
{% for phone in user.phone %} {% if not loop.first %}
{% endif %} {{ phone }} {% else %} — {% endfor %}

{% trans %}Function{% endtrans %}
{% if user.title %} {{ user.title }} {% else %} — {% endif %}
{% trans %}Location{% endtrans %}
{% if user.location %}
{{ user.location }} {% if user.location_office %}
{% trans %}Room{% endtrans %} {{ user.location_office }} {% endif %}
{% else %} — {% endif %}
{% trans %}Section{% endtrans %}
{% if user.section %} {{ user.section }} {% else %} — {% endif %}
{% trans %}Departement{% endtrans %}
{% if user.departement %} {{ user.departement }} {% else %} — {% endif %}