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