Browse Source

Merge pull request #83 from jeje0106/master-5

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

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

@ -7,6 +7,7 @@
<th>Time</th> <th>Time</th>
<th>Blocks</th> <th>Blocks</th>
<th>Amount</th> <th>Amount</th>
<th>Luck</th>
<th>USD</th> <th>USD</th>
</tr> </tr>
</thead> </thead>
@ -17,10 +18,11 @@
<td>{{sumreward.name}}</td> <td>{{sumreward.name}}</td>
<td>{{sumreward.blocks}}</td> <td>{{sumreward.blocks}}</td>
<td>{{format-balance sumreward.reward}}</td> <td>{{format-balance sumreward.reward}}</td>
<td>{{format-number sumreward.personalLuck style='percent'}}</td>
<td><em> <td><em>
{{#if (eq config.Currency 'USD') }} {{#if (eq config.Currency 'USD') }}
{{format-ethusd sumreward.reward model.exchangedata.current_price}} {{format-ethusd sumreward.reward model.exchangedata.price_usd}}
{{else}} {{else}}
{{format-ethinr sumreward.reward model.exchangedata.price_inr}} {{format-ethinr sumreward.reward model.exchangedata.price_inr}}
{{/if}} {{/if}}
@ -37,7 +39,7 @@
<th>Block Height</th> <th>Block Height</th>
<th>Time Found</th> <th>Time Found</th>
<th>Reward</th> <th>Reward</th>
<th>Round Share</th> <th>Personal Luck</th>
</tr> </tr>
</thead> </thead>
@ -53,7 +55,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.personalLuck style='percent' maximumFractionDigits='2'}}</td>
</tr> </tr>
{{/each}} {{/each}}
</tbody> </tbody>

Loading…
Cancel
Save