From 03287b3b98a70b3085f8ceadbf99ca0401cde6eb Mon Sep 17 00:00:00 2001 From: Siegfried Krug Date: Sat, 16 Jan 2021 14:59:54 +0100 Subject: [PATCH] modify ui --- src/module/config.ts | 2 +- .../actor/partials/items-overview.hbs | 20 ++++++++----------- 2 files changed, 9 insertions(+), 13 deletions(-) diff --git a/src/module/config.ts b/src/module/config.ts index 171b26f8..9cab1d5f 100644 --- a/src/module/config.ts +++ b/src/module/config.ts @@ -190,7 +190,7 @@ export const DS4 = { }, /** - * Define currency elements for handlebars of a character + * Define currency elements of a character */ currency: { gold: "DS4.CurrencyGold", diff --git a/src/templates/actor/partials/items-overview.hbs b/src/templates/actor/partials/items-overview.hbs index b35c256a..5b47b6a0 100644 --- a/src/templates/actor/partials/items-overview.hbs +++ b/src/templates/actor/partials/items-overview.hbs @@ -97,20 +97,16 @@
- - {{!-- Money --}} + {{!-- Money--}}

{{localize 'DS4.Currency'}}

    -
  1. - {{#each config.currency as |currency-name|}} -
    {{currency-name}}
    - {{/each}} -
  2. -
  3. - {{#each data.currency as |currency-data-value currency-data-key|}} - - {{/each}} +
  4. +
    {{config.currency.gold}}
    + +
    {{config.currency.silver}}
    + +
    {{config.currency.copper}}
    +