Browse Source

Merge pull request #3 from yuriy0803/SOLO-ETC

Update  Reward
master
yuriy0803 5 years ago committed by GitHub
parent
commit
b9d53fa33e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 10
      www/app/templates/account/rewards.hbs

10
www/app/templates/account/rewards.hbs

@ -2,9 +2,17 @@
{{#if model.rewards}}
<h4>Your Latest Rewards</h4>
<table class="table table-condensed table-striped">
<thead>
<tr>
<th>Time</th>
<th>Blocks</th>
<th>Reward</th>
</tr>
</thead>
{{#each model.sumrewards as |sumreward|}}
<tr>
<td>{{sumreward.name}}</td>
<td>{{sumreward.blocks}}</td>
<td>{{format-balance sumreward.reward}}</td>
</tr>
{{/each}}
@ -31,7 +39,7 @@
<span class="label label-success">{{format-balance tx.reward}}</span>
{{/if}}
</td>
<td>{{format-number tx.percent style='percent' maximumFractionDigits='2'}}</td>
<td>{{format-number tx.percent style='percent' maximumFractionDigits='6'}}</td>
</tr>
{{/each}}
</tbody>

Loading…
Cancel
Save