diff --git a/www/app/templates/account/rewards.hbs b/www/app/templates/account/rewards.hbs index 5e33de4..f78dfc7 100644 --- a/www/app/templates/account/rewards.hbs +++ b/www/app/templates/account/rewards.hbs @@ -2,14 +2,35 @@ {{#if model.rewards}}

Your Latest Rewards

- {{#each model.sumrewards as |sumreward|}} - - - - - {{/each}} -
{{sumreward.name}}{{format-balance sumreward.reward}}
- Immature Matured + + + Time + Blocks + Amount + USD + + + + + {{#each model.sumrewards as |sumreward|}} + + {{sumreward.name}} + {{sumreward.blocks}} + {{format-balance sumreward.reward}} + + + {{#if (eq config.Currency 'USD') }} + {{format-ethusd sumreward.reward model.exchangedata.current_price}} + {{else}} + {{format-ethinr sumreward.reward model.exchangedata.price_inr}} + {{/if}} + + + + {{/each}} + + + Immature Matured @@ -17,26 +38,27 @@ + {{#each model.rewards as |tx|}} - - - - - - + + + + + + {{/each}}
Time Found Reward Round Share
{{format-number tx.blockheight}}{{format-date-locale tx.timestamp}} - {{#if tx.immature}} - {{format-balance tx.reward}} - {{else}} - {{format-balance tx.reward}} - {{/if}} - {{format-number tx.percent style='percent' maximumFractionDigits='2'}}
{{format-number tx.blockheight}}{{format-date-locale tx.timestamp}} + {{#if tx.immature}} + {{format-balance tx.reward}} + {{else}} + {{format-balance tx.reward}} + {{/if}} + {{format-number tx.percent style='percent' maximumFractionDigits='2'}}
{{else}}

No rewards yet

{{/if}} - + \ No newline at end of file