From ac8d36be2152ed094cbc8fe75b391ea6dbdb2b74 Mon Sep 17 00:00:00 2001 From: The Last Scrub Date: Fri, 3 Jul 2020 23:30:40 -0700 Subject: [PATCH] fixes to motivations section --- module/item/item-sheet.js | 2 +- templates/item/item-motivation-sheet.html | 35 ++++++++++++----------- templates/item/item-weapon-sheet.html | 2 +- 3 files changed, 21 insertions(+), 18 deletions(-) diff --git a/module/item/item-sheet.js b/module/item/item-sheet.js index bedf905..e4eaaae 100644 --- a/module/item/item-sheet.js +++ b/module/item/item-sheet.js @@ -10,7 +10,7 @@ export class DeltaGreenItemSheet extends ItemSheet { classes: ["deltagreen", "sheet", "item"], width: 520, height: 480, - tabs: [{ navSelector: ".sheet-tabs", contentSelector: ".sheet-body", initial: "description" }] + tabs: [{ navSelector: ".sheet-tabs", contentSelector: ".sheet-body", initial: "attributes" }] }); } diff --git a/templates/item/item-motivation-sheet.html b/templates/item/item-motivation-sheet.html index 662bbf7..b340bbe 100644 --- a/templates/item/item-motivation-sheet.html +++ b/templates/item/item-motivation-sheet.html @@ -1,18 +1,25 @@
-
- - -
+ + {{!-- Sheet Tab Navigation --}} + {{!-- Sheet Body --}}
-
+
+
+ + +
+
{{/if}} + +
-
- -
- - - - - +
+ {{editor content=data.description target="data.description" button=true owner=owner editable=editable}}
- {{editor content=data.description target="data.description" button=true owner=owner editable=editable}} +
diff --git a/templates/item/item-weapon-sheet.html b/templates/item/item-weapon-sheet.html index 5da5be3..af94f64 100644 --- a/templates/item/item-weapon-sheet.html +++ b/templates/item/item-weapon-sheet.html @@ -49,7 +49,7 @@ {{!-- Sheet Tab Navigation --}} {{!-- Sheet Body --}}