mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-07-21 19:24:15 +00:00
feat(rainbow-hair): add rainbow hair colors
This commit is contained in:
parent
e24d7476e8
commit
82d9233d99
1 changed files with 6 additions and 0 deletions
|
|
@ -40,6 +40,12 @@ script(id='partials/options.profile.avatar.html', type='text/ng-template')
|
|||
each color in ['candycane','frost','winternight','holly']
|
||||
button(type='button', ng-if='user.purchased.hair.color.#{color}', class='customize-option hair_bangs_1_#{color}', style='width: 40px; height: 40px;', ng-click='unlock("hair.color.#{color}")')
|
||||
|
||||
li.customize-menu
|
||||
menu(label=env.t('rainbowColors'))
|
||||
each color in ['rainbow','yellow','green','purple','blue','TRUred']
|
||||
button(type='button', ng-class='{locked: !user.purchased.hair.color.#{color}}', class='customize-option hair_bangs_1_#{color}', style='width: 40px; height: 40px;', ng-click='unlock("hair.color.#{color}")')
|
||||
button.btn.btn-small.btn-primary(ng-hide='user.purchased.hair.color.rainbow && user.purchased.hair.color.yellow && user.purchased.hair.color.green && user.purchased.hair.color.purple && user.purchased.hair.color.blue && user.purchased.hair.color.TRUred', ng-click='unlock("hair.color.rainbow,hair.color.yellow,hair.color.green,hair.color.purple,hair.color.blue,hair.color.TRUred")')!= env.t('unlockSet5') + ' <span class="Pet_Currency_Gem1x inline-gems"/>'
|
||||
|
||||
h5=env.t('bodyHair')
|
||||
// Bangs
|
||||
li.customize-menu
|
||||
|
|
|
|||
Loading…
Reference in a new issue