Skip to content

Commit

Permalink
Adding nyanoToLocale
Browse files Browse the repository at this point in the history
  • Loading branch information
qwahzi authored Nov 6, 2021
1 parent f28e5f0 commit cd92d4b
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -189,8 +189,8 @@ <h3 class="uk-width-auto uk-card-title uk-text-truncate" style="max-width: calc(
<div class="text-snippet">{{ 'general.new' | transloco }}</div>
<div class="text-full">
<div class="amount-sign">+</div>
<div class="amount-integer">{{ account.pending | rai: 'nyano,true' | amountsplit: 0 }}</div>
<div class="amount-fractional">{{ account.pending | rai: 'nyano,true' | amountsplit: 1 }}</div>
<div class="amount-integer">{{ account.pending | rai: 'nyano,true' | nyanoToLocale | amountsplit: 0 }}</div>
<div class="amount-fractional">{{ account.pending | rai: 'nyano,true' | nyanoToLocale | amountsplit: 1 }}</div>
<div class="amount-currency-name">NYANO</div>
</div>
</div>
Expand Down Expand Up @@ -388,8 +388,8 @@ <h3 class="uk-margin-remove-bottom">{{ 'account-details.transactions' | transloc
</ng-template>
<td class="amount-column uk-text-middle uk-text-muted" [title]="('Incoming Transaction') + ( (pending.amountRaw && (pending.amountRaw > 0) ) ? ( ', +' + ( pending.amountRaw.toString(10) ) + ' raw' ) : '' )">
<span class="uk-text-small">{{ 'general.actions.ready-to-receive' | transloco }}</span><br>
<span class="amount-integer">{{ pending.amount | rai: 'nyano,true' | amountsplit: 0 }}</span>
<span class="amount-fractional">{{ pending.amount | rai: 'nyano,true' | amountsplit: 1 }}</span>
<span class="amount-integer">{{ pending.amount | rai: 'nyano,true' | nyanoToLocale | amountsplit: 0 }}</span>
<span class="amount-fractional">{{ pending.amount | rai: 'nyano,true' | nyanoToLocale | amountsplit: 1 }}</span>
<span class="currency-name">NYANO</span>
<div class="compact-actions-date">
<ng-template [ngTemplateOutlet]="transactionActionsOrDate"></ng-template>
Expand Down

0 comments on commit cd92d4b

Please sign in to comment.