diff --git a/module/templates.js b/module/templates.js index 8a0099e..e887f4e 100644 --- a/module/templates.js +++ b/module/templates.js @@ -7,6 +7,7 @@ export const preloadHandlebarsTemplates = async function() { return loadTemplates([ "systems/deltagreen/templates/actor/actor-sheet.html", + "systems/deltagreen/templates/actor/cv-partial.html", "systems/deltagreen/templates/dialog/modify-percentile-roll.html" ]); }; \ No newline at end of file diff --git a/templates/actor/actor-sheet.html b/templates/actor/actor-sheet.html index 690eff5..22297f1 100644 --- a/templates/actor/actor-sheet.html +++ b/templates/actor/actor-sheet.html @@ -382,32 +382,7 @@ {{!-- Biography Tab --}}
-
- {{localize 'DG.CV.Sex'}} - - - {{localize 'DG.CV.AgeAndDoB'}} - -
- -
- - {{localize 'DG.CV.Employer'}} - - - {{localize 'DG.CV.Nationality'}} - - -
- -
- {{localize 'DG.CV.Education'}} - -
-
- {{localize 'DG.CV.PhysicalDescriptionLabel'}} -
- {{editor content=data.physicalDescription target="data.physicalDescription" button=true owner=owner editable=editable}} + {{> "systems/deltagreen/templates/actor/cv-partial.html" }}
{{!-- Bonds Tab --}} diff --git a/templates/actor/cv-partial.html b/templates/actor/cv-partial.html new file mode 100644 index 0000000..3d20d23 --- /dev/null +++ b/templates/actor/cv-partial.html @@ -0,0 +1,26 @@ +
+ {{localize 'DG.CV.Sex'}} + + + {{localize 'DG.CV.AgeAndDoB'}} + +
+ +
+ + {{localize 'DG.CV.Employer'}} + + + {{localize 'DG.CV.Nationality'}} + + +
+ +
+ {{localize 'DG.CV.Education'}} + +
+
+ {{localize 'DG.CV.PhysicalDescriptionLabel'}} +
+{{editor content=data.physicalDescription target="data.physicalDescription" button=true owner=owner editable=editable}} \ No newline at end of file diff --git a/templates/actor/limited-sheet.html b/templates/actor/limited-sheet.html index dd522e9..a1b319d 100644 --- a/templates/actor/limited-sheet.html +++ b/templates/actor/limited-sheet.html @@ -28,34 +28,8 @@
{{!-- Biography Tab --}}
-
- {{localize 'DG.CV.Sex'}} - - - {{localize 'DG.CV.AgeAndDoB'}} - -
- -
- - {{localize 'DG.CV.Employer'}} - - - {{localize 'DG.CV.Nationality'}} - - -
- -
- {{localize 'DG.CV.Education'}} - -
-
- {{localize 'DG.CV.PhysicalDescriptionLabel'}} -
- {{editor content=data.physicalDescription target="data.physicalDescription" button=true owner=owner editable=editable}} + {{> "systems/deltagreen/templates/actor/cv-partial.html" }}
-