From 82d9233d99167d6704c878884dcc49a55cc7d884 Mon Sep 17 00:00:00 2001 From: Tyler Renelle Date: Fri, 7 Feb 2014 10:01:31 -0700 Subject: [PATCH] feat(rainbow-hair): add rainbow hair colors --- views/options/profile.jade | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/views/options/profile.jade b/views/options/profile.jade index c238ea79ec..5078c9dccd 100644 --- a/views/options/profile.jade +++ b/views/options/profile.jade @@ -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') + ' ' + h5=env.t('bodyHair') // Bangs li.customize-menu