You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

18 lines
681 B

- var currencyFormatInfo = utils.getCurrencyFormatInfo(currencyFormatType);
if (currencyValue > 0)
- var parts = utils.formatCurrencyAmount(currencyValue, currencyFormatType).split(" ");
span.monospace #{parts[0]}
if (currencyFormatInfo.type == "native")
if (global.exchangeRates)
small.border-dotted.ml-1(data-toggle="tooltip", title=utils.formatExchangedCurrency(currencyValue, "usd")) #{parts[1]}
else
small.ml-1 #{parts[1]}
else if (currencyFormatInfo.type == "exchanged")
small.border-dotted.ml-1(data-toggle="tooltip", title=utils.formatCurrencyAmount(currencyValue, coinConfig.defaultCurrencyUnit.name)) #{parts[1]}
else
span.monospace 0