mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-17 07:36:26 +01:00
199 - Tooltips (#311)
* Set up templates for all 'advanced' tooltips * Fixed ItemFeature Header label * Fixed less import
This commit is contained in:
parent
72436478c1
commit
b6195127fe
23 changed files with 505 additions and 54 deletions
12
templates/ui/tooltip/parts/tooltipTags.hbs
Normal file
12
templates/ui/tooltip/parts/tooltipTags.hbs
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
{{#if (gt features.length 0)}}<h4 class="tooltip-sub-title">{{label}}</h4>{{/if}}
|
||||
<div class="tooltip-tags">
|
||||
{{#each features as | feature |}}
|
||||
<div class="tooltip-tag">
|
||||
<div class="tooltip-tag-label-container">
|
||||
<div class="tooltip-tag-label">{{localize feature.name}}</div>
|
||||
{{#if feature.img}}<img class="tooltip-tag-image" src="{{feature.img}}" />{{/if}}
|
||||
</div>
|
||||
<div class="tooltip-tag-description">{{{localize (tertiary feature.description feature.system.description)}}}</div>
|
||||
</div>
|
||||
{{/each}}
|
||||
</div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue