mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-08-03 08:21:07 +00:00
Hide attribute points counter if you're over 100 and have 0 left
This commit is contained in:
parent
52d869b195
commit
9017ba7d7e
1 changed files with 5 additions and 4 deletions
|
|
@ -161,10 +161,11 @@ mixin profileStats
|
|||
table.table.table-striped
|
||||
tr
|
||||
td
|
||||
p(ng-if='user.stats.lvl >= 100')!=env.t('noMoreAllocate')
|
||||
strong.inline
|
||||
|{{user.stats.points}}
|
||||
strong.hint(popover-trigger='mouseenter', popover-placement='right', popover=env.t('levelPopover'))=env.t('unallocated')
|
||||
p(ng-if='::user.stats.lvl >= 100')!=env.t('noMoreAllocate')
|
||||
p(ng-if='user.stats.points || user.stats.lvl < 100')
|
||||
strong.inline
|
||||
|{{user.stats.points}}
|
||||
strong.hint(popover-trigger='mouseenter', popover-placement='right', popover=env.t('levelPopover'))=env.t('unallocated')
|
||||
td
|
||||
tr
|
||||
td(colspan=2)
|
||||
|
|
|
|||
Loading…
Reference in a new issue