clean display for is_sold
This commit is contained in:
parent
dcc19bd9e8
commit
ca17e36b5a
2 changed files with 3 additions and 3 deletions
|
@ -53,7 +53,7 @@
|
|||
<td>{{ article.name }}</td>
|
||||
<td class="text-right">{{ article.price }}€</td>
|
||||
<td class="text-right">{{ article.stock }}</td>
|
||||
<td class="text-right">{{ article.is_sold }}</td>
|
||||
<td class="text-right">{{ article.is_sold | yesno:"En vente,Non vendu"}}</td>
|
||||
<td class="text-right">{{ article.hidden | yesno:"Caché,Affiché" }}</td>
|
||||
<td class="text-right">{{ article.inventory.0.at }}</td>
|
||||
</tr>
|
||||
|
|
|
@ -15,8 +15,8 @@
|
|||
<div class="block">
|
||||
<div class="line">Prix (hors réduc.): {{ article.price }}€</div>
|
||||
<div class="line">Stock: {{ article.stock }}</div>
|
||||
<div class="line">En vente: {{ article.is_sold }}</div>
|
||||
<div class="line">Affiché : {{ article.hidden | yesno:"Non,Oui" }}</div>
|
||||
<div class="line">En vente: {{ article.is_sold | yesno:"Oui,Non" }}</div>
|
||||
<div class="line">Affiché: {{ article.hidden | yesno:"Non,Oui" }}</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="buttons">
|
||||
|
|
Loading…
Reference in a new issue