mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-19 16:24:06 +01:00
Added a setting to hide attribution
This commit is contained in:
parent
e8aa2acdf0
commit
52466b2803
15 changed files with 47 additions and 15 deletions
|
|
@ -3,6 +3,8 @@
|
|||
<h1>{{localize 'DAGGERHEART.SETTINGS.Menu.appearance.name'}}</h1>
|
||||
</header>
|
||||
|
||||
{{formGroup settingFields.schema.fields.hideAttribution value=settingFields._source.hideAttribution localize=true}}
|
||||
|
||||
<fieldset>
|
||||
<legend>{{localize 'DAGGERHEART.GENERAL.fear'}}</legend>
|
||||
{{formGroup settingFields.schema.fields.displayFear value=settingFields._source.displayFear localize=true}}
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
{{formInput notes.field value=notes.value enriched=notes.enriched toggled=true}}
|
||||
</fieldset>
|
||||
|
||||
{{#if document.system.attribution.artist}}
|
||||
{{#if (and showAttribution document.system.attribution.artist)}}
|
||||
<label class="artist-attribution">{{localize "DAGGERHEART.GENERAL.artistAttribution" artist=document.system.attribution.artist}}</label>
|
||||
{{/if}}
|
||||
</section>
|
||||
|
|
@ -18,8 +18,8 @@
|
|||
</div>
|
||||
{{/if}}
|
||||
</div>
|
||||
{{#if document.system.attribution.source}}
|
||||
<label class="attribution-header-label">{{attributionLabel}}</label>
|
||||
{{#if (and showAttribution document.system.attributionLabel)}}
|
||||
<label class="attribution-header-label">{{document.system.attributionLabel}}</label>
|
||||
{{/if}}
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
{{formInput notes.field value=notes.value enriched=notes.value toggled=true}}
|
||||
</fieldset>
|
||||
|
||||
{{#if document.system.attribution.artist}}
|
||||
{{#if (and showAttribution document.system.attribution.artist)}}
|
||||
<label class="artist-attribution">{{localize "DAGGERHEART.GENERAL.artistAttribution" artist=document.system.attribution.artist}}</label>
|
||||
{{/if}}
|
||||
</section>
|
||||
|
|
@ -8,7 +8,7 @@
|
|||
{{formInput systemFields.description value=document.system.description enriched=enrichedDescription toggled=true}}
|
||||
</fieldset>
|
||||
|
||||
{{#if document.system.attribution.artist}}
|
||||
{{#if (and showAttribution document.system.attribution.artist)}}
|
||||
<label class="artist-attribution">{{localize "DAGGERHEART.GENERAL.artistAttribution" artist=document.system.attribution.artist}}</label>
|
||||
{{/if}}
|
||||
</section>
|
||||
|
|
@ -4,7 +4,7 @@
|
|||
<h1 class='item-name'><input type='text' name='name' value='{{source.name}}' /></h1>
|
||||
<div class='item-description'>
|
||||
<h3>{{localize 'TYPES.Item.ancestry'}}</h3>
|
||||
{{#if source.system.attributionLabel}} <div class="attribution-header-label">{{source.system.attributionLabel}}</div>{{/if}}
|
||||
{{#if (and showAttribution source.system.attributionLabel)}} <div class="attribution-header-label">{{source.system.attributionLabel}}</div>{{/if}}
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
|
|
@ -4,7 +4,7 @@
|
|||
<h1 class='item-name'><input type='text' name='name' value='{{source.name}}' /></h1>
|
||||
<div class='item-description'>
|
||||
<h3>{{localize 'TYPES.Item.community'}}</h3>
|
||||
{{#if source.system.attributionLabel}} <div class="attribution-header-label">{{source.system.attributionLabel}}</div>{{/if}}
|
||||
{{#if (and showAttribution source.system.attributionLabel)}} <div class="attribution-header-label">{{source.system.attributionLabel}}</div>{{/if}}
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
|
|
@ -24,6 +24,6 @@
|
|||
{{source.system.level}}
|
||||
</h3>
|
||||
</div>
|
||||
{{#if source.system.attributionLabel}} <div class="attribution-header-label">{{source.system.attributionLabel}}</div>{{/if}}
|
||||
{{#if (and showAttribution source.system.attributionLabel)}} <div class="attribution-header-label">{{source.system.attributionLabel}}</div>{{/if}}
|
||||
</div>
|
||||
</header>
|
||||
Loading…
Add table
Add a link
Reference in a new issue