Merge pull request #39 from Eldritch-Oliver/GH-38
Add tooltips for the attribute names on the player sheet
This commit is contained in:
commit
f3a3a65be1
1 changed files with 2 additions and 0 deletions
|
|
@ -12,6 +12,7 @@
|
||||||
name="{{attr.path}}.value"
|
name="{{attr.path}}.value"
|
||||||
value="{{attr.value}}"
|
value="{{attr.value}}"
|
||||||
aria-label="Current value"
|
aria-label="Current value"
|
||||||
|
data-tooltip="@{{ attr.id }}{{#if attr.isRange}}.value{{/if}}"
|
||||||
>
|
>
|
||||||
{{#if attr.isRange}}
|
{{#if attr.isRange}}
|
||||||
<span aria-hidden="true">/</span>
|
<span aria-hidden="true">/</span>
|
||||||
|
|
@ -21,6 +22,7 @@
|
||||||
name="{{attr.path}}.max"
|
name="{{attr.path}}.max"
|
||||||
value="{{attr.max}}"
|
value="{{attr.max}}"
|
||||||
aria-label="Maximum value"
|
aria-label="Maximum value"
|
||||||
|
data-tooltip="@{{ attr.id }}.max"
|
||||||
>
|
>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue