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. 14
      www/app/templates/account/rewards.hbs

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

@ -2,10 +2,18 @@
{{#if model.rewards}} {{#if model.rewards}}
<h4>Your Latest Rewards</h4> <h4>Your Latest Rewards</h4>
<table class="table table-condensed table-striped"> <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|}} {{#each model.sumrewards as |sumreward|}}
<tr> <tr>
<td>{{sumreward.name}}</td> <td>{{sumreward.name}}</td>
<td>{{format-balance sumreward.reward}}</td> <td>{{sumreward.blocks}}</td>
<td>{{format-balance sumreward.reward}}</td>
</tr> </tr>
{{/each}} {{/each}}
</table> </table>
@ -31,7 +39,7 @@
<span class="label label-success">{{format-balance tx.reward}}</span> <span class="label label-success">{{format-balance tx.reward}}</span>
{{/if}} {{/if}}
</td> </td>
<td>{{format-number tx.percent style='percent' maximumFractionDigits='2'}}</td> <td>{{format-number tx.percent style='percent' maximumFractionDigits='6'}}</td>
</tr> </tr>
{{/each}} {{/each}}
</tbody> </tbody>
@ -39,4 +47,4 @@
{{else}} {{else}}
<h3>No rewards yet</h3> <h3>No rewards yet</h3>
{{/if}} {{/if}}
</div> </div>

Loading…
Cancel
Save