mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-07-15 08:22:17 +00:00
fix(header): Consistent formatting of XP
Use the "number:0" format for current experience as well as experience to next level, so you don't have inconsistent thousands separators (e.g. "1010 / 1,100")
This commit is contained in:
parent
5277275b0f
commit
8a00dfd27e
1 changed files with 1 additions and 1 deletions
|
|
@ -19,7 +19,7 @@
|
||||||
span.meter-text
|
span.meter-text
|
||||||
span.glyphicon.glyphicon-star
|
span.glyphicon.glyphicon-star
|
||||||
|
|
|
|
||||||
| {{Math.floor(user.stats.exp)}} / {{Shared.tnl(user.stats.lvl) | number:0}}
|
| {{Math.floor(user.stats.exp) | number:0}} / {{Shared.tnl(user.stats.lvl) | number:0}}
|
||||||
// FIXME doesn't look great here, but the "Experience" CSS title rollover covers it where it was before
|
// FIXME doesn't look great here, but the "Experience" CSS title rollover covers it where it was before
|
||||||
span(ng-show='user.history.exp')
|
span(ng-show='user.history.exp')
|
||||||
a(ng-click='toggleChart("exp")', tooltip=env.t('progress'))
|
a(ng-click='toggleChart("exp")', tooltip=env.t('progress'))
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue