{% extends "mag/base_mag_ecom.html" %} {% load static %} {% block title %}AUTO-PIECE — Comptes clients{% endblock title %} {% block page %}Comptes clients{% endblock page %} {% block extra_head %} {% endblock extra_head %} {% block page_action_buttons %} Excel {% endblock page_action_buttons %} {% block main_content %}

{{ comptes|length }} compte{% if comptes|length != 1 %}s{% endif %} client{% if comptes|length != 1 %}s{% endif %} {% if search_q %} · « {{ search_q }} » {% endif %}

{% include "mag/partials/_alpine_table_toolbar.html" with search_placeholder="Filtrer dans le tableau…" %}
{% for c in comptes %} {% empty %} {% endfor %}
Nom utilisateur Nom complet Email Contact Genre Activer Actions
{{ c.username }} {{ c.get_full_name|default:"—" }} {{ c.email }} {{ c.contact|default:"—" }} {{ c.genre|default:"—" }}
{% if search_q %}Aucun compte client ne correspond à « {{ search_q }} ».{% else %}Aucun compte client.{% endif %}
{% if comptes %} {% include "mag/partials/_table_pager.html" %} {% endif %}
{% endblock main_content %} {% block extra_js %} {% endblock extra_js %}