{% extends 'admin/base.html' %} {% block content %}

Gestion des catégories

Ajouter une catégorie
{% if categories %} {% for category in categories %} {% endfor %} {% else %} {% endif %}
ID Nom Description Catégorie parente Nombre de produits Actions
{{ category.id }} {% if category.parent %} ↳ {{ category.name }} {% else %} {{ category.name }} {% endif %} {{ category.description|truncate(50) if category.description else "Aucune description" }} {% if category.parent %} {{ category.parent.name }} {% else %} Catégorie principale {% endif %} {{ category.products|length }}
Aucune catégorie disponible
{% endblock %} {% block extra_js %} {% endblock %}