diff --git a/module/applications/sheets/items/armor.mjs b/module/applications/sheets/items/armor.mjs index 912f88c2..8af832c3 100644 --- a/module/applications/sheets/items/armor.mjs +++ b/module/applications/sheets/items/armor.mjs @@ -33,7 +33,7 @@ export default class ArmorSheet extends DHBaseItemSheet { scrollable: ['.settings'] }, attachments: { - template: 'systems/daggerheart/templates/sheets/items/armor/attachments.hbs', + template: 'systems/daggerheart/templates/sheets/global/tabs/tab-attachments.hbs', scrollable: ['.attachments'] } }; diff --git a/module/applications/sheets/items/weapon.mjs b/module/applications/sheets/items/weapon.mjs index d8ae35e0..a5ba1b7e 100644 --- a/module/applications/sheets/items/weapon.mjs +++ b/module/applications/sheets/items/weapon.mjs @@ -34,7 +34,7 @@ export default class WeaponSheet extends DHBaseItemSheet { scrollable: ['.settings'] }, attachments: { - template: 'systems/daggerheart/templates/sheets/items/weapon/attachments.hbs', + template: 'systems/daggerheart/templates/sheets/global/tabs/tab-attachments.hbs', scrollable: ['.attachments'] } }; diff --git a/templates/sheets/items/armor/attachments.hbs b/templates/sheets/global/tabs/tab-attachments.hbs similarity index 100% rename from templates/sheets/items/armor/attachments.hbs rename to templates/sheets/global/tabs/tab-attachments.hbs diff --git a/templates/sheets/items/weapon/attachments.hbs b/templates/sheets/items/weapon/attachments.hbs deleted file mode 100644 index 5b632d8b..00000000 --- a/templates/sheets/items/weapon/attachments.hbs +++ /dev/null @@ -1,30 +0,0 @@ -
-
- {{localize tabs.attachments.label}} - - {{#if attachedItems}} -
- {{#each attachedItems as |item|}} -
- {{item.name}} -
-
{{item.name}}
-
-
- -
-
- {{/each}} -
- {{/if}} - -
- - Drop items here to attach them -
-
-