diff --git a/templates/actor-sheet-inventaire-conteneur.html b/templates/actor-sheet-inventaire-conteneur.html index 0c3c0570..bc58f94c 100644 --- a/templates/actor-sheet-inventaire-conteneur.html +++ b/templates/actor-sheet-inventaire-conteneur.html @@ -14,7 +14,9 @@ {{numberFormat item.data.encTotal decimals=2}}
{{#unless item.estContenu}} + {{#if (ne item.type 'conteneur')}} {{#if item.data.equipe}}{{else}}{{/if}} + {{/if}} {{/unless}} diff --git a/templates/actor-sheet.html b/templates/actor-sheet.html index 6db86c66..6c035741 100644 --- a/templates/actor-sheet.html +++ b/templates/actor-sheet.html @@ -610,13 +610,14 @@ {{#each objets as |item id|}} {{#unless item.estContenu}} - {{#if (eq item.type 'conteneur')}} - {{buildConteneur this}} - {{else}} + {{#if (ne item.type 'conteneur')}} {{> "systems/foundryvtt-reve-de-dragon/templates/actor-sheet-inventaire-conteneur.html" item=item }} {{/if}} {{/unless}} {{/each}} + {{#each conteneurs as |conteneur id|}} + {{buildConteneur this}} + {{/each}}

Montures