{# articles (tableau de dictionnaires) * tableau de "article" * id_article, nom, type_article_id, prix * option : * stock , * nb_avis , * nb_declinaisons #} {% extends 'client/layout_client.html' %} {% block title %} afficher les articles {% endblock %} {% block body %}

votre liste d'envies



{% if articles_liste_envies | length >= 1 %} {% for ligne in articles_liste_envies %} {# #} {% endfor %} {% else %} {% endif %}
nomidprixstocknb déclinaisonsimageopération
{{ ligne.nom }} {{ ligne.id_article }} {#{ ligne.prix }#} {{ "{:,.2f} €".format(ligne.prix) }} {% if ligne.stock is defined %} {% if ligne.stock > 0 %} {{ ligne.stock }} {% else %} article momentanément indisponible {% endif %} {% else %} ND {% endif %} {{ ligne.date_create }} {{ ligne.date_create.strftime('%d-%m-%Y') }} {% if ligne.nb_declinaisons is defined %} {{ ligne.nb_declinaisons }} {% else %} decli ND {% endif %} {% if ligne.image is not none %} image  de {{ ligne.nom }} {% else %} pas d image {% endif %}
{% if loop.index !=1 %}
{% endif %} {% if loop.index != loop.length %} {% endif %} {% if loop.index != 1 %}
{% endif %} {% if loop.index != loop.length %}
{% endif %}
{{ compteur_id_article }}
pas d'article
{{ nb_liste_envies }} article(s)

Derniers articles consultés (6 maximum)

{% for article in articles_historique %}
{% endfor %}
{% endblock %}