fix: make ActiveEffects work properly
This commit is contained in:
parent
124824da83
commit
692d311558
11 changed files with 112 additions and 98 deletions
|
@ -15,15 +15,15 @@ SPDX-License-Identifier: MIT
|
|||
type="checkbox" {{checked (ne effectData.disabled true)}} data-dtype="Boolean" data-property="disabled"
|
||||
data-inverted="true" title="{{localize 'DS4.EffectEnabled'}}">
|
||||
|
||||
{{!-- effectively enabled --}}
|
||||
{{#if effectData.isEffectivelyEnabled}}<i class="fas fa-check"></i>{{else}}<i class="fas fa-ban"></i>{{/if}}
|
||||
{{!-- active --}}
|
||||
{{#if effectData.active}}<i class="fas fa-check"></i>{{else}}<i class="fas fa-ban"></i>{{/if}}
|
||||
|
||||
{{!-- icon --}}
|
||||
{{> systems/ds4/templates/sheets/shared/components/rollable-image.hbs rollable=false src=effectData.icon
|
||||
alt=(localize "DS4.DocumentImageAltText" name=effectData.label) title=effectData.label}}
|
||||
|
||||
{{!-- label --}}
|
||||
<div title="{{effectData.label}}">{{effectData.label}}</div>
|
||||
{{!-- name --}}
|
||||
<div title="{{effectData.name}}">{{effectData.name}}</div>
|
||||
|
||||
{{!-- source name --}}
|
||||
<div title="{{effectData.sourceName}}">{{effectData.sourceName}}</div>
|
||||
|
|
|
@ -12,14 +12,14 @@ SPDX-License-Identifier: MIT
|
|||
{{!-- enabled --}}
|
||||
<div title="{{localize 'DS4.EffectEnabled'}}">{{localize 'DS4.EffectEnabledAbbr'}}</div>
|
||||
|
||||
{{!-- effectively enabled --}}
|
||||
<div title="{{localize 'DS4.EffectEffectivelyEnabled'}}">{{localize 'DS4.EffectEffectivelyEnabledAbbr'}}</div>
|
||||
{{!-- active --}}
|
||||
<div title="{{localize 'DS4.EffectActive'}}">{{localize 'DS4.EffectActiveAbbr'}}</div>
|
||||
|
||||
{{!-- icon --}}
|
||||
<div></div>
|
||||
|
||||
{{!-- label --}}
|
||||
<div>{{localize 'DS4.EffectLabel'}}</div>
|
||||
{{!-- name --}}
|
||||
<div>{{localize 'DS4.EffectName'}}</div>
|
||||
|
||||
{{!-- source name --}}
|
||||
<div>{{localize 'DS4.EffectSourceName'}}</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue