daggerheart/templates/ui/tooltip/effect-display.hbs
WBHarry aec5c06da7 .
2025-11-25 23:16:30 +01:00

16 lines
No EOL
666 B
Handlebars

<div class="daggerheart dh-style tooltip">
<div class="tooltip-header">
<h3>{{effect.name}}</h3>
<div class="helper">
{{#unless effect.isLockedCondition}}
{{localize "DAGGERHEART.UI.EffectsDisplay.removeThing" thing=(localize "DAGGERHEART.GENERAL.Effect.single")}}
{{/unless}}
</div>
</div>
<div>
{{#if effect.description}}{{{effect.description}}}{{else}}{{{effect.parent.system.description}}}{{/if}}
</div>
{{#if effect.appliedBy}}
<footer class="tooltip-footer">{{localize "DAGGERHEART.UI.EffectsDisplay.appliedBy" by=effect.appliedBy}}</footer>
{{/if}}
</div>