Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 13 additions & 3 deletions src/app/wallet/wallet.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@
<top-bar-mobile-navigation-control class="mr-15px d-lg-none d-inline-block"></top-bar-mobile-navigation-control>
<div class="d-flex align-items-center w-100 justify-content-between">
<div>Wallet</div>
<div class="p-15px fs-14px"><span>≈ {{ globalVars.nanosToUSD(globalVars.loggedInUser.BalanceNanos + totalValue(), 2) }}&nbsp;</span><small>USD Total</small></div>
<div class="p-15px fs-14px"
title="{{globalVars.nanosToBitClout(globalVars.loggedInUser.BalanceNanos + totalValue())}} $CLOUT">
<span>≈ {{ globalVars.nanosToUSD(globalVars.loggedInUser.BalanceNanos + totalValue(), 2) }}&nbsp;</span><small>USD Total</small>
</div>
</div>
</div>

Expand Down Expand Up @@ -209,15 +212,22 @@ <h5 class="fs-15px fc-muted">

<!-- Price-->
<div class="col-lg-2 d-none d-lg-flex align-items-center justify-content-end">
<div class="d-flex align-items-center justify-content-end">
<div class="d-flex align-items-center justify-content-end"
title="{{globalVars.nanosToBitClout(creator.ProfileEntryResponse.CoinPriceBitCloutNanos)}} $CLOUT"
>
{{ globalVars.nanosToUSD(creator.ProfileEntryResponse.CoinPriceBitCloutNanos, 2) }}
</div>
</div>

<!-- Balance -->
<div class="col-4 mb-0 pt-0px d-flex align-items-center justify-content-end text-right">
<div>
<div>
<div
title="~{{
globalVars.nanosToBitClout(
globalVars.bitcloutNanosYouWouldGetIfYouSold(creator.BalanceNanos, creator.ProfileEntryResponse.CoinEntry)
)}} $CLOUT"
>
<i
*ngIf="creator.NetBalanceInMempool != 0 && globalVars.showProcessingSpinners"
class="fa fa-spinner fc-muted"
Expand Down