Hide attribute points counter if you're over 100 and have 0 left

This commit is contained in:
Blade Barringer 2015-05-16 17:08:06 -05:00
parent 52d869b195
commit 9017ba7d7e

View file

@ -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}}&nbsp;
strong.hint(popover-trigger='mouseenter', popover-placement='right', popover=env.t('levelPopover'))=env.t('unallocated')
td
tr
td(colspan=2)