Browse Source

Update rewards.hbs

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

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

@ -2,18 +2,10 @@
{{#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>
<td>{{format-balance sumreward.reward}}</td>
</tr>
{{/each}}
</table>
@ -39,7 +31,7 @@
<span class="label label-success">{{format-balance tx.reward}}</span>
{{/if}}
</td>
<td>{{format-number tx.percent style='percent' maximumFractionDigits='6'}}</td>
<td>{{format-number tx.percent style='percent' maximumFractionDigits='2'}}</td>
</tr>
{{/each}}
</tbody>

Loading…
Cancel
Save