mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-07-21 18:09:54 +02:00
Some checks failed
Project CI / build (24.x) (push) Has been cancelled
* Add support for GM Notes * Localize GM Notes header label * Fix active editor height and menu auto sizing * Add tooltip to add gm note button
25 lines
No EOL
1.2 KiB
Handlebars
Executable file
25 lines
No EOL
1.2 KiB
Handlebars
Executable file
<section
|
|
class='tab {{tabs.description.cssClass}} {{tabs.description.id}}'
|
|
data-tab='{{tabs.description.id}}'
|
|
data-group='{{tabs.description.group}}'
|
|
>
|
|
<div class="description-section">
|
|
{{formInput systemFields.description value=document.system.description enriched=enrichedDescription toggled=true}}
|
|
{{#if (and systemFields.gmNotes @root.user.isGM)}}
|
|
<section class="gm-notes-section">
|
|
{{#if enrichedGMNotes}}
|
|
<header class="gm-notes">{{localize "DAGGERHEART.ITEMS.FIELDS.gmNotes.label"}}</header>
|
|
{{/if}}
|
|
<prose-mirror
|
|
name="system.gmNotes"
|
|
{{#unless enrichedGMNotes}}class="hide-if-inactive"{{/unless}}
|
|
toggled="true"
|
|
value="{{document.system.gmNotes}}"
|
|
>{{{enrichedGMNotes}}}</prose-mirror>
|
|
</section>
|
|
{{/if}}
|
|
</div>
|
|
{{#if (and showAttribution document.system.attribution.artist)}}
|
|
<label class="artist-attribution">{{localize "DAGGERHEART.GENERAL.artistAttribution" artist=document.system.attribution.artist}}</label>
|
|
{{/if}}
|
|
</section> |