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