Skip to content

Commit

Permalink
Update index.hbs
Browse files Browse the repository at this point in the history
  • Loading branch information
yuriy0803 authored Jun 30, 2024
1 parent c38eba6 commit e4a3777
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions www/app/templates/index.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,13 @@
<div><i class="fa fa-bars"></i> Mining Block: <span>{{stats.height}}</span></div>
<div><i class="fa fa-clock-o"></i> Luck: <span>{{format-number stats.roundVariance style='percent'}}</span>
</div>
<div><i class="fa fa-credit-card-alt fa-fw"></i> Current price: <span>$ {{model.exchangedata.price_usd}}</span>
<div>
<i class="fa fa-credit-card-alt fa-fw"></i> Current price:
<span>$ {{#if (unless (eq model.exchangedata.price_usd 0) model.exchangedata.price_usd)}}
{{else}}
{{model.exchangedata.current_price}}
{{/if}}
</span>
</div>
</div>
</div>
Expand Down Expand Up @@ -83,4 +89,4 @@
</div>
</div>
</div>
</div>
</div>

0 comments on commit e4a3777

Please sign in to comment.