From 2b2ca386fb660f508754cdc6a92b14b4a470e716 Mon Sep 17 00:00:00 2001 From: Aaron Lutomski Date: Sat, 30 May 2026 20:31:11 -0700 Subject: [PATCH] Add necessary data-edit attribute to all images required by v14. --- templates/actor/parts/header.html | 1 + templates/item/parts/armor-header.html | 2 +- templates/item/parts/bond-header.html | 2 +- templates/item/parts/gear-header.html | 2 +- templates/item/parts/profession-header.html | 1 + templates/item/parts/ritual-header.html | 2 +- templates/item/parts/tome-header.html | 2 +- templates/item/parts/weapon-header.html | 2 +- 8 files changed, 8 insertions(+), 6 deletions(-) diff --git a/templates/actor/parts/header.html b/templates/actor/parts/header.html index 4c0c773..d3fff20 100644 --- a/templates/actor/parts/header.html +++ b/templates/actor/parts/header.html @@ -6,6 +6,7 @@ src="{{actor.img}}" alt="{{actor.name}}" data-action="editImage" + data-edit="img" height="150" width="100" />
diff --git a/templates/item/parts/armor-header.html b/templates/item/parts/armor-header.html index 9e6cdfc..cd22438 100644 --- a/templates/item/parts/armor-header.html +++ b/templates/item/parts/armor-header.html @@ -1,7 +1,7 @@
- +
diff --git a/templates/item/parts/bond-header.html b/templates/item/parts/bond-header.html index fdbe351..d4080d3 100644 --- a/templates/item/parts/bond-header.html +++ b/templates/item/parts/bond-header.html @@ -1,6 +1,6 @@
- +
{{localize 'DG.Bonds.Name'}}: diff --git a/templates/item/parts/gear-header.html b/templates/item/parts/gear-header.html index 244fdfa..07d6a24 100644 --- a/templates/item/parts/gear-header.html +++ b/templates/item/parts/gear-header.html @@ -1,7 +1,7 @@
- +
diff --git a/templates/item/parts/profession-header.html b/templates/item/parts/profession-header.html index 6af10b1..3050f45 100644 --- a/templates/item/parts/profession-header.html +++ b/templates/item/parts/profession-header.html @@ -3,6 +3,7 @@
{{localize 'DG.ItemWindow.Profession.Name'}}: diff --git a/templates/item/parts/ritual-header.html b/templates/item/parts/ritual-header.html index 77f0af5..d4ee46c 100644 --- a/templates/item/parts/ritual-header.html +++ b/templates/item/parts/ritual-header.html @@ -1,6 +1,6 @@
- +
{{#if item.system.revealed}} diff --git a/templates/item/parts/tome-header.html b/templates/item/parts/tome-header.html index 6224c45..8640c56 100644 --- a/templates/item/parts/tome-header.html +++ b/templates/item/parts/tome-header.html @@ -1,6 +1,6 @@
- +
{{#if item.system.revealed}} diff --git a/templates/item/parts/weapon-header.html b/templates/item/parts/weapon-header.html index 70352f5..dee3369 100644 --- a/templates/item/parts/weapon-header.html +++ b/templates/item/parts/weapon-header.html @@ -1,7 +1,7 @@
- +