Hide the "% used" indicator when there is no maximum capacity, and add a placeholder to be more explicit for the input
This commit is contained in:
parent
e4e1f30fcb
commit
f05311d7c8
4 changed files with 15 additions and 6 deletions
|
|
@ -7,12 +7,14 @@
|
|||
<h3 class="grow">
|
||||
{{localize "taf.Apps.PlayerSheet.carrying-capacity.title"}}
|
||||
</h3>
|
||||
<div>
|
||||
{{localize
|
||||
"taf.Apps.PlayerSheet.carry-capacity-used"
|
||||
percent=carryCapacityPercent
|
||||
}}
|
||||
</div>
|
||||
{{#if hasCarryCapacity}}
|
||||
<div>
|
||||
{{localize
|
||||
"taf.Apps.PlayerSheet.carry-capacity-used"
|
||||
percent=carryCapacityPercent
|
||||
}}
|
||||
</div>
|
||||
{{/if}}
|
||||
<input
|
||||
type="text"
|
||||
value="{{totalWeight}}"
|
||||
|
|
@ -28,6 +30,7 @@
|
|||
type="number"
|
||||
name="system.carryCapacity"
|
||||
value="{{system.carryCapacity}}"
|
||||
placeholder="{{localize "taf.Apps.PlayerSheet.carrying-capacity.placeholder"}}"
|
||||
aria-label="{{localize "taf.Apps.PlayerSheet.carrying-capacity.label"}}"
|
||||
data-tooltip
|
||||
data-tooltip-direction="UP"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue