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.
 
 
 

15 lines
644 B

- var currencyFormatInfo = utils.getCurrencyFormatInfo(currencyFormatType);
if (currencyValue > 0)
span(class="monospace") #{utils.formatCurrencyAmount(currencyValue, currencyFormatType)}
if (currencyFormatInfo.type == "native")
if (global.exchangeRates)
span
span(data-toggle="tooltip", title=utils.formatExchangedCurrency(currencyValue, "usd"))
i(class="fas fa-exchange-alt")
else if (currencyFormatInfo.type == "exchanged")
span
span(data-toggle="tooltip", title=utils.formatCurrencyAmount(currencyValue, coinConfig.defaultCurrencyUnit.name))
i(class="fas fa-exchange-alt")
else
span(class="monospace") 0