diff --git a/kfet/templates/kfet/article.html b/kfet/templates/kfet/article.html index 1d0a86fd..20d3ed50 100644 --- a/kfet/templates/kfet/article.html +++ b/kfet/templates/kfet/article.html @@ -33,6 +33,7 @@ Prix Stock En vente + Affiché Dernier inventaire @@ -40,7 +41,7 @@ {% for article in articles %} {% ifchanged article.category %} - {{ article.category.name }} + {{ article.category.name }} {% endifchanged %} @@ -53,6 +54,7 @@ {{ article.price }}€ {{ article.stock }} {{ article.is_sold }} + {{ article.hidden | yesno:"Caché,Affiché" }} {{ article.inventory.0.at }} {% endfor %} diff --git a/kfet/templates/kfet/article_read.html b/kfet/templates/kfet/article_read.html index 89a13cba..59481f26 100644 --- a/kfet/templates/kfet/article_read.html +++ b/kfet/templates/kfet/article_read.html @@ -16,6 +16,7 @@
Prix (hors réduc.): {{ article.price }}€
Stock: {{ article.stock }}
En vente: {{ article.is_sold }}
+
Affiché : {{ article.hidden | yesno:"Non,Oui" }}