1 changed files with 8 additions and 8 deletions
@ -1,15 +1,15 @@ |
|||||
- var currencyFormatInfo = utils.getCurrencyFormatInfo(currencyFormatType); |
- var currencyFormatInfo = utils.getCurrencyFormatInfo(currencyFormatType); |
||||
|
|
||||
if (currencyValue > 0) |
if (currencyValue > 0) |
||||
span(class="monospace") #{utils.formatCurrencyAmount(currencyValue, currencyFormatType)} |
- var parts = utils.formatCurrencyAmount(currencyValue, currencyFormatType).split(" "); |
||||
|
|
||||
|
span.monospace #{parts[0]} |
||||
if (currencyFormatInfo.type == "native") |
if (currencyFormatInfo.type == "native") |
||||
if (global.exchangeRates) |
if (global.exchangeRates) |
||||
span |
small.border-dotted.ml-1(data-toggle="tooltip", title=utils.formatExchangedCurrency(currencyValue, "usd")) #{parts[1]} |
||||
span(data-toggle="tooltip", title=utils.formatExchangedCurrency(currencyValue, "usd")) |
|
||||
i(class="fas fa-exchange-alt") |
|
||||
else if (currencyFormatInfo.type == "exchanged") |
else if (currencyFormatInfo.type == "exchanged") |
||||
span |
small.border-dotted.ml-1(data-toggle="tooltip", title=utils.formatCurrencyAmount(currencyValue, coinConfig.defaultCurrencyUnit.name)) #{parts[1]} |
||||
span(data-toggle="tooltip", title=utils.formatCurrencyAmount(currencyValue, coinConfig.defaultCurrencyUnit.name)) |
|
||||
i(class="fas fa-exchange-alt") |
|
||||
else |
else |
||||
span(class="monospace") 0 |
span.monospace 0 |
Loading…
Reference in new issue