|
<div class="coinage">
|
|
<div class="currency">
|
|
<li class="label">{{localize "PF2E.StackGroupCoins"}}</li>
|
|
{{#each totalCoinage as |value denomination|}}
|
|
<li class="denomination {{denomination}}">
|
|
<div class="currency-image" title="{{localize value.label}}"></div>
|
|
<span>{{value.value}}</span>
|
|
</li>
|
|
{{/each}}
|
|
{{#if editable}}
|
|
<li class="add-coins-popup" title="{{localize "PF2E.AddCoinsTitle"}}">
|
|
<button type="button" data-action="add-coins"><i class="fa-solid fa-plus fa-fw"></i></button>
|
|
</li>
|
|
<li class="remove-coins-popup" title="{{localize "PF2E.RemoveCoinsTitle"}}">
|
|
<button type="button" data-action="remove-coins"><i class="fa-solid fa-minus fa-fw"></i></button>
|
|
</li>
|
|
{{#if (or isLoot (eq @root.document.type "character"))}}
|
|
<li class="sell-all-treasure" title="{{localize "PF2E.SellAllTreasureTitle"}}">
|
|
<button type="button" data-action="sell-all-treasure"><i class="fa-solid fa-coins fa-fw"></i></button>
|
|
</li>
|
|
{{/if}}
|
|
{{/if}}
|
|
</div>
|
|
<div class="wealth">
|
|
<h3 class="item-name">
|
|
{{localize "PF2E.TotalCoinage"}}
|
|
<span>{{totalCoinageGold}} {{localize "PF2E.CurrencyAbbreviations.gp"}}</span>
|
|
</h3>
|
|
<h3 class="item-name">{{localize "PF2E.TotalWealth"}} <span>{{totalWealthGold}} {{localize "PF2E.CurrencyAbbreviations.gp"}}</span></h3>
|
|
</div>
|
|
</div>
|