fix(profile): body size elements consistent with the rest

Before this change body size selector had inconsistent code
with the rest of the profile customization.
This also led to an inconsistent styling of the menu label.
This commit is contained in:
Denis Sokolov 2014-04-23 23:27:34 +09:00
parent 7ab0c9fc82
commit c3d2b66b41

View file

@ -9,12 +9,13 @@ script(id='partials/options.profile.avatar.html', type='text/ng-template')
.col-md-4
h3=env.t('bodyBody')
h5=env.t('bodySize')
.btn-group
button.btn.btn-sm.btn-default(ng-class='{active: user.preferences.size=="slim"}', ng-click='set({"preferences.size":"slim"})')=env.t('bodySlim')
button.btn.btn-sm.btn-default(ng-class='{active: user.preferences.size=="broad"}', ng-click='set({"preferences.size":"broad"})')=env.t('bodyBroad')
menu(type='list')
li.customize-menu
menu(label=env.t('bodySize'))
.btn-group
button.btn.btn-sm.btn-default(ng-class='{active: user.preferences.size=="slim"}', ng-click='set({"preferences.size":"slim"})')=env.t('bodySlim')
button.btn.btn-sm.btn-default(ng-class='{active: user.preferences.size=="broad"}', ng-click='set({"preferences.size":"broad"})')=env.t('bodyBroad')
li.customize-menu
menu(label=env.t('shirts'))
each shirt in ['black', 'blue', 'green', 'pink', 'white', 'yellow']