mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-04-21 23:13:39 +02:00
Fix adversary feature type not rendering (#1731)
This commit is contained in:
parent
08a9bbdf05
commit
1bd3daed43
2 changed files with 8 additions and 11 deletions
|
|
@ -40,23 +40,20 @@ Parameters:
|
|||
|
||||
{{!-- Name & Tags --}}
|
||||
<div class="item-label" draggable="true">
|
||||
{{!-- Item Name --}}
|
||||
<span class="item-name">{{localize item.name}} {{#unless (or noExtensible (not item.system.description))}}<span class="expanded-icon"><i class="fa-solid fa-expand"></i></span>{{/unless}}</span>
|
||||
|
||||
{{!-- Item Name --}}
|
||||
<span class="item-name">{{localize item.name}} {{#unless (or noExtensible (not item.system.description))}}<span class="expanded-icon"><i class="fa-solid fa-expand"></i></span>{{/unless}}</span>
|
||||
|
||||
{{!-- Tags Start --}}
|
||||
{{!-- Tags Start --}}
|
||||
{{#if (not ../hideTags)}}
|
||||
{{#> "systems/daggerheart/templates/sheets/global/partials/item-tags.hbs" item }}
|
||||
{{#if (eq ../type 'feature')}}
|
||||
{{#if (or (eq @root.document.type 'adversary') (eq @root.document.type 'environment'))}}
|
||||
{{#if system.featureForm}}
|
||||
{{#> "systems/daggerheart/templates/sheets/global/partials/item-tags.hbs" item}}
|
||||
{{#if (eq ../type 'feature')}}
|
||||
{{#if (and system.featureForm (or (eq @root.document.type "adversary") (eq @root.document.type "environment")))}}
|
||||
<div class="tag feature-form">
|
||||
<span class="recall-value">{{localize (concat "DAGGERHEART.CONFIG.FeatureForm." system.featureForm)}}</span>
|
||||
</div>
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
{{/ "systems/daggerheart/templates/sheets/global/partials/item-tags.hbs"}}
|
||||
{{/ "systems/daggerheart/templates/sheets/global/partials/item-tags.hbs"}}
|
||||
{{/if}}
|
||||
|
||||
{{!--Tags End --}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue