diff --git a/app/pods/components/hackerblocks-stats/template.hbs b/app/pods/components/hackerblocks-stats/template.hbs index 81b6a6aa6..1fdf63207 100644 --- a/app/pods/components/hackerblocks-stats/template.hbs +++ b/app/pods/components/hackerblocks-stats/template.hbs @@ -7,28 +7,30 @@ @autoFire="true" as |stats|>
Current Rank
- {{stats.currentOverallRank}} {{#if (gte stats.currentOverallRank stats.previousOverallRank)}} + {{stats.currentOverallRank}} - + {{sub stats.currentOverallRank stats.previousOverallRank}} ranks {{else}} + {{stats.currentOverallRank}} - + {{sub stats.previousOverallRank stats.currentOverallRank}} ranks {{/if}}
Performance
- {{stats.currentMonthScore}} Points {{#if (gte stats.currentMonthScore stats.previousMonthScore)}} + {{stats.currentMonthScore}} Points {{sub stats.currentMonthScore stats.previousMonthScore}} points {{else}} + {{stats.currentMonthScore}} Points {{sub stats.previousMonthScore stats.currentMonthScore}} points