diff --git a/templates/actor/commerce-inventaire-item.html b/templates/actor/commerce-inventaire-item.html index 313b4ef4..831e7440 100644 --- a/templates/actor/commerce-inventaire-item.html +++ b/templates/actor/commerce-inventaire-item.html @@ -41,24 +41,20 @@ {{#if options.isOwner}} - {{#if (and (eq item.type 'conteneur') (not vide))}} - - {{else}} - + + {{#unless (and (eq item.type 'conteneur') (not vide))}} {{#if (or item.parent.system.illimite (ne item.system.quantite 0))}} {{/if}} - {{#if (gt item.system.quantite 0)}} - - {{/if}} - {{/if}} - {{else}} + {{/unless}} + {{/if}} + {{#unless (and (eq item.type 'conteneur') (not vide))}} {{#if (or item.parent.system.illimite (gt item.system.quantite 0))}} {{/if}} - {{/if}} - + + {{/unless}} {{/if}}