{% load static %} {% if card_config %} {% with cfg=card_config %}
{% if cfg.owner_logo_override %} {% elif cfg.owner_logo_choice == 'svg' %} {% else %} {% endif %}
{{ cfg.owner_org_name }}
{{ cfg.owner_org_suffix }}
{% if profile and profile.giving_circle %}CARTE {{ profile.giving_circle.name|upper }}{% else %}{{ cfg.card_title }}{% endif %}
{% if profile and profile.photo %} Photo {% else %} 👤 {% endif %}
{{ profile.user.get_full_name|default:profile.user.username|upper }}
{% if profile.generation_code %}
{{ profile.generation_code }}
{% endif %} {% if profile.country %}
🌍 {{ profile.country.name }}
{% endif %} {% if profile.card_issued %}
Membre depuis {{ profile.card_issued|date:"d/m/Y" }}
{% endif %}
{{ cfg.qr_code_1_label }}
{{ cfg.qr_code_2_label }}
{% endwith %} {% endif %}