modifications
This commit is contained in:
parent
46ec9b0ac8
commit
c10ab44ea9
2 changed files with 9 additions and 15 deletions
|
@ -190,9 +190,8 @@ export const DS4 = {
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Define currency elemenrs for handlebars of a character
|
* Define currency elements for handlebars of a character
|
||||||
*/
|
*/
|
||||||
|
|
||||||
currency: {
|
currency: {
|
||||||
gold: "DS4.CurrencyGold",
|
gold: "DS4.CurrencyGold",
|
||||||
silver: "DS4.CurrencySilver",
|
silver: "DS4.CurrencySilver",
|
||||||
|
|
|
@ -102,23 +102,18 @@
|
||||||
<h4 class="items-list-title">{{localize 'DS4.Currency'}}</h4>
|
<h4 class="items-list-title">{{localize 'DS4.Currency'}}</h4>
|
||||||
<ol class="items-list">
|
<ol class="items-list">
|
||||||
<li class="item flexrow item-header">
|
<li class="item flexrow item-header">
|
||||||
<div class="flex3 item-num-val" title="gold">{{config.currency.gold}}</div>
|
{{#each config.currency as |currency-name|}}
|
||||||
<div class="flex3 item-num-val" title="silver">{{config.currency.silver}}</div>
|
<div class="flex3 item-num-val">{{currency-name}}</div>
|
||||||
<div class="flex3 item-num-val" title="copper">{{config.currency.copper}}</div>
|
{{/each}}
|
||||||
</li>
|
</li>
|
||||||
<li class="item flexrow">
|
<li class="item flexrow">
|
||||||
<input class="flex3 item-num-val item-change" data-dtype="Number" type="number" min="0" step="1" data-property="data.currency.copper"
|
{{#each data.currency as |currency-data-value currency-data-key|}}
|
||||||
value="{{data.currency.gold}}" title="Gold" />
|
<input class="flex3 item-num-val item-change" name="data.currency.{{currency-data-key}}" value="{{currency-data-value}}"
|
||||||
<input class="flex3 item-num-val item-change" data-dtype="Number" type="number" min="0" step="1" data-property="data.currency.copper"
|
data-dtype="Number" />
|
||||||
value="{{data.currency.silver}}" title="Silber" />
|
{{/each}}
|
||||||
<input class="flex3 item-num-val item-change" data-dtype="Number" type="number" min="0" step="1" data-property="data.currency.copper"
|
|
||||||
value="{{data.currency.copper}}" title="Kupfer" />
|
|
||||||
</li>
|
|
||||||
</ol>
|
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
</ol>
|
</ol>
|
||||||
|
|
||||||
{{!-- WEAPONS --}}
|
{{!-- WEAPONS --}}
|
||||||
<h4 class="items-list-title">{{localize 'DS4.ItemTypeWeaponPlural'}}</h4>
|
<h4 class="items-list-title">{{localize 'DS4.ItemTypeWeaponPlural'}}</h4>
|
||||||
{{!-- {{#if (and (ne itemsByType.weapon undefined) (gt itemsByType.weapon.length 0)) }} --}}
|
{{!-- {{#if (and (ne itemsByType.weapon undefined) (gt itemsByType.weapon.length 0)) }} --}}
|
||||||
|
|
Loading…
Reference in a new issue